Skip to content
Snippets Groups Projects
Unverified Commit 79828917 authored by Sean Quah's avatar Sean Quah Committed by GitHub
Browse files

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: default avatarSean Quah <seanq@matrix.org>
parent b5b5f660
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment