mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-27 10:45:33 +00:00
dc9fe61050
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).