Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #5750

When retrieving the conversation list for a user, there is a
time window between retrieving the list and the participant information.
If in that time window, a concurrent request removes the user from the
room, or even the room got deleted, this could cause a
ParticipantNotFoundException.

This fix prevents the latter exception to make the whole call return a
404. Instead, it skips the obsoleted entry and carries on with the list.

Signed-off-by: Vincent Petry <[email protected]>
@backportbot-nextcloud backportbot-nextcloud bot added this to the 💕 Next Minor (21.1) milestone Jun 14, 2021
@nickvergessen nickvergessen merged commit b4c4ec5 into stable21.1 Jun 14, 2021
@nickvergessen nickvergessen deleted the backport/5750/stable21.1 branch June 14, 2021 11:29
@nickvergessen nickvergessen modified the milestones: 💕 Next Minor (21.1), 💚 Next Patch (21) Jun 25, 2021
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.

3 participants