cinny icon indicating copy to clipboard operation
cinny copied to clipboard

Leaving a room or declining an invite does not clear properly

Open cyrneko opened this issue 4 months ago • 1 comments

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

  1. Get an invite
  2. Navigate to said invite
  3. Hit "decline"
  4. Observe Issue

Alternatively:

  1. Navigate to room
  2. Select 'leave room' option
  3. Watch as leave event appears in the timeline
  4. 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

cyrneko avatar Aug 22 '25 15:08 cyrneko

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.

bkil avatar Aug 27 '25 09:08 bkil