mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-02-25 11:11:08 -05:00

When the server leaves a room the `get_rooms_for_user` cache is not correctly invalidated for the remote users in the room. This means that subsequent calls to `get_rooms_for_user` for the remote users would incorrectly include the room (it shouldn't be included because the server no longer knows anything about the room).