Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OF-2397: Do not process subscription requests for shared contacts #2624

Conversation

guusdk
Copy link
Member

@guusdk guusdk commented Nov 27, 2024

When a contact is a contact by virtue of being in a shared group, the presence subscription between the roster owner and this contact is deemed to be static.

Presence subscriptions sent by the client of either party should not affect this status.

I've not tested this change at all. I'm not at all sure if it is complete (does it cover all applicable cases? does it also process messages sent by both the 'roster owner' as well as the contact itself)? I also worry about potential side-effects.

I'm creating this PR mostly as a means of getting started. Hopefully someone can pitch in and help test, and possibly improve this change.

When a contact is a contact by virtue of being in a shared group, the presence subscription between the roster owner and this contact is deemed to be static.

Presence subscriptions sent by the client of either party should not affect this status.
@guusdk guusdk merged commit 9bc75d5 into igniterealtime:main Dec 20, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant