mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-08 02:55:49 -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).