fix: remove deleted rooms from space navigation after refresh #200
Reference in New Issue
Block a user
Delete Branch "bhavishy2801/flotilla:fix-room-delete-partial-failure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR fixes a bug where deleting a room succeeded on the relay, but the room could still appear in space navigation (including after refresh).
Fixes #194.
Root Cause
Room list derivation did not consistently treat delete events as authoritative in edge cases:
Changes
Validation
pnpm run checkpassed.pnpm run lintpassed.Testing
Please don't merge your own PRs. This change doesn't actually change any behavior, because the semantics of
maxdefaultundefinedto 0. This issue is probably more related to synchronization; the bug described only happens sporadically.