Skip to content

Comments

fix: Prevent re-joining room when leaving chat#2401

Draft
Ivansss wants to merge 1 commit intomainfrom
fix/noid/prevent-rejoining-room-when-leaving-chat
Draft

fix: Prevent re-joining room when leaving chat#2401
Ivansss wants to merge 1 commit intomainfrom
fix/noid/prevent-rejoining-room-when-leaving-chat

Conversation

@Ivansss
Copy link
Member

@Ivansss Ivansss commented Feb 20, 2026

Steps to reproduce:

  • Join one open conversation
  • Go to "Conversation settings"
  • Tap on "Leave conversation"

Without this PR:

User will rejoin the conversation after leaving it, because the chat view will rejoin the conversation (in viewWillAppear()) while moving to conversations list.

With this PR:
Prevents any action on chat view's viewWillAppear() if leaveChat() has been called.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
@Ivansss Ivansss requested a review from SystemKeeper February 20, 2026 18:05
@Ivansss Ivansss marked this pull request as draft February 20, 2026 18:06
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