summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-12-12 18:13:43 +0000
committerGitHub <noreply@github.com>2022-12-12 18:13:43 +0000
commit7982891794e26cabe18448f4e0ec0d301f13d186 (patch)
treec0e5865d80dbb21115eda08b5b2d80f70cbd5d29 /changelog.d
parentMove `StateFilter` to `synapse.types` (#14668) (diff)
downloadsynapse-7982891794e26cabe18448f4e0ec0d301f13d186.tar.xz
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>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/14670.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14670.bugfix b/changelog.d/14670.bugfix
new file mode 100644
index 0000000000..98398d76cc
--- /dev/null
+++ b/changelog.d/14670.bugfix
@@ -0,0 +1 @@
+Fix bugs introduced in 1.55.0 and 1.69.0 where application services would not be notified of events in the correct rooms, due to stale caches.