Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

muc: always emit on_presence_change on presence updates #343

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

horazont
Copy link
Owner

Without this, there is no simple way for users of the Room object
to obtain presence updates from occupants. While they could
install a global presence filter, that is highly undesirable.

The previous code would only emit on_presence_changed if the show
or status of the presence had changed. However, with custom
presence payloads, other attributes can be as or even more
interesting than that.

Fixes #341.

@horazont horazont added the enhancement Improve functionality: e.g. extend existing features, add new features, refactoring, … label Jul 23, 2020
@horazont horazont added this to the v0.12 milestone Jul 23, 2020
@horazont horazont self-assigned this Jul 23, 2020
@horazont horazont force-pushed the feature/muc-on_presence_changed-always branch from e29892b to 2f8b297 Compare December 10, 2021 07:54
Without this, there is no simple way for users of the Room object
to obtain presence updates from occupants. While they could
install a global presence filter, that is highly undesirable.

The previous code would only emit on_presence_changed if the `show`
or `status` of the presence had changed. However, with custom
presence payloads, other attributes can be as or even more
interesting than that.

Fixes #341.
@horazont horazont force-pushed the feature/muc-on_presence_changed-always branch from 2f8b297 to f37fa4a Compare December 14, 2021 20:39
@horazont horazont merged commit 6eb6d81 into devel Dec 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improve functionality: e.g. extend existing features, add new features, refactoring, …
Projects
None yet
2 participants