cinny
cinny copied to clipboard
Leaving a room or declining an invite does not clear properly
Describe the bug
When leaving a room or space using the context menu, or when declining an invite in the inbox section, the room or invite will not disappear until cache is cleared.
Trying to decline or leave again throws a server error, as one cannot decline an invite twice or leave a room they aren't in.
Reproduction
- Get an invite
- Navigate to said invite
- Hit "decline"
- Observe Issue
Alternatively:
- Navigate to room
- Select 'leave room' option
- Watch as leave event appears in the timeline
- The room is still in the roomlist
Expected behavior
Leaving a room or declining an invite should be reflected in the UI properly; Rooms I am not a member of should not persist, and declined invites should disappear out of my inbox.
Platform and versions
1. OS: nixOS 25.05
2. Browser: Librewolf 141.0.3-1 (nixpkgs)
3. Cinny Version: dev, https://github.com/cinnyapp/cinny/commit/78a0d11f24cc1b7e37930fd3dc53ea54ac1fee53
4. Matrix Homeserver: thomcat.rocks
Additional context
N/A
Duplicate of #2433. I tested it again and it is still present, but let's track the issue here instead of reopening the older one.