-
Notifications
You must be signed in to change notification settings - Fork 428
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug where inbox passed rooms into does_user_exist
This needs to verify the type of the request at the moment where we need to decide if the inbox owner exists. We can't return false because that would drop the required markers from resetting the count. We can't return `can_access_room` because then the message telling the user that he has been removed from a room would arrive to the user at a time when he's not a member of the room anymore. So we simply must return true from here.
- Loading branch information
1 parent
0114210
commit ed78685
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters