0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-12 13:01:34 +01:00
synapse/synapse/appservice
Sean Quah 7982891794
Fix missing cache invalidation in application service code (#14670)
#11915 introduced the `@cached` `is_interested_in_room` method in
Synapse 1.55.0, which depends upon `get_aliases_for_room`. Add a missing
cache invalidation callback so that the `is_interested_in_room` cache is
invalidated when `get_aliases_for_room` is invalidated.

#13787 made `get_rooms_for_user` `@cached`. Add a missing cache
invalidation callback so that the `is_interested_in_presence` cache is
invalidated when `get_rooms_for_user` is invalidated.

Signed-off-by: Sean Quah <seanq@matrix.org>
2022-12-12 18:13:43 +00:00
..
__init__.py Fix missing cache invalidation in application service code (#14670) 2022-12-12 18:13:43 +00:00
api.py Use device_one_time_keys_count to match MSC3202 (#14565) 2022-11-28 16:17:29 +00:00
scheduler.py Use device_one_time_keys_count to match MSC3202 (#14565) 2022-11-28 16:17:29 +00:00