synapse/changelog.d/11878.misc
Patrick Cloke a8da046907
Invalidate the get_users_in_room{_with_profile} caches only when necessary. (#11878)
The get_users_in_room and get_users_in_room_with_profiles
are now only invalidated when the  membership of a room changes,
instead of during any state change in the room.
2022-02-02 12:24:07 -05:00

1 line
122 B
Text

Do not needlessly clear the `get_users_in_room` and `get_users_in_room_with_profiles` caches when any room state changes.