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

Fix logout failure if active session was removed from room #3863

Conversation

danxuliu
Copy link
Member

How to test

  • Do not use the HPB
  • As user A, create a group conversation and invite user B
  • In a private window, log in with user B and open the conversation
  • As user A, remove user B from the conversation
  • As user B, log out quickly (before the "Conversation not found" page is shown)

Result with this pull request

The user is logged out.

Result without this pull request

An error occurs during the log out and the user is not logged out.

@nickvergessen
Copy link
Member

Time to fixup

@nickvergessen nickvergessen added 4. to release feature: api 🛠️ OCS API for conversations, chats and participants and removed 3. to review labels Jul 1, 2020
@nickvergessen
Copy link
Member

/backport to stable19

@nickvergessen
Copy link
Member

/backport to stable18

@nickvergessen
Copy link
Member

/backport to stable17

If the user tries to immediately log out after being removed from a
conversation in which she was active an exception could be thrown during
the logout cleanup if no conversation is found for the session. If the
exception is not caught then the logout will fail.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
@danxuliu danxuliu force-pushed the fix-logout-failure-if-active-session-was-removed-from-room branch from b3a6096 to c8e8b7b Compare July 2, 2020 01:17
@nickvergessen nickvergessen merged commit 6eba4e2 into master Jul 2, 2020
@nickvergessen nickvergessen deleted the fix-logout-failure-if-active-session-was-removed-from-room branch July 2, 2020 07:13
@backportbot-nextcloud
Copy link

The backport to stable19 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable18 failed. Please do this backport manually.

@backportbot-nextcloud
Copy link

The backport to stable17 failed. Please do this backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release bug feature: api 🛠️ OCS API for conversations, chats and participants
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants