This repository has been archived on 2026-10-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Sable/src
Evie Gauthier b98fa45820 feat: auto-unsubscribe and prune timeline when local user leaves a room
Wire onMembershipLeave to RoomMemberEvent.Membership in attach()/dispose().
When the local user leaves or is banned from a subscribed room, calls
unsubscribeFromRoom() which prunes timelines exceeding PRUNE_TIMELINE_THRESHOLD.

Previously, unsubscribeFromRoom() was dead code — nothing in the app called it.

Also add 5 unit tests covering: leave, ban, other-user leave, join (no-op),
and non-subscribed room (no-op).
2026-03-18 15:22:56 -04:00
..
2026-03-11 21:17:51 -05:00