Skip to content

fix: Ignore self-presence for untracked MUC rooms#2097

Merged
jubalh merged 1 commit intomasterfrom
fix/731-pseudo-join
Feb 28, 2026
Merged

fix: Ignore self-presence for untracked MUC rooms#2097
jubalh merged 1 commit intomasterfrom
fix/731-pseudo-join

Conversation

@jubalh
Copy link
Copy Markdown
Member

@jubalh jubalh commented Feb 28, 2026

Only handle self-presence for rooms we are actively managing.

Earlier we blindly react to any self-presence
stanza by calling 'ui_room_join'.

The join could have been initiated by another client or an external Gateway. In the case of #731 this was Slack.
I remember that more people reported this kind of bug in our MUC.

We then would open a window and the nick would be (null) because we don't have any nickname for that room set.

So only react on self-presence if we manage the MUC. Other XMPP clients do the same.

Fix #731

Only handle self-presence for rooms we are actively managing.

Earlier we blindly react to any self-presence
stanza by calling 'ui_room_join'.

The join could have been initiated by another client or an external
Gateway. In the case of #731 this was Slack.
I remember that more people reported this kind of bug in our MUC.

We then would open a window and the nick would be (null) because we
don't have any nickname for that room set.

So only react on self-presence if we manage the MUC.
Other XMPP clients do the same.

Fix #731
@jubalh jubalh added this to the next milestone Feb 28, 2026
@jubalh jubalh self-assigned this Feb 28, 2026
@jubalh jubalh merged commit d8c1664 into master Feb 28, 2026
7 checks passed
@jubalh jubalh deleted the fix/731-pseudo-join branch February 28, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pseudo-joined conferences

1 participant