summary refs log tree commit diff
path: root/synapse/storage/databases/main/cache.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-08-06 17:15:35 +0100
committerGitHub <noreply@github.com>2020-08-06 17:15:35 +0100
commit2ffd6783c7af12e3c29e1a44dee4a9deeb83890b (patch)
treea757175121ecd385dd174b84b30016cf74c81350 /synapse/storage/databases/main/cache.py
parentConvert some util functions to async (#8035) (diff)
downloadsynapse-2ffd6783c7af12e3c29e1a44dee4a9deeb83890b.tar.xz
Revert #7736 (#8039)
Diffstat (limited to 'synapse/storage/databases/main/cache.py')
-rw-r--r--synapse/storage/databases/main/cache.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/cache.py b/synapse/storage/databases/main/cache.py
index 683afde52b..10de446065 100644
--- a/synapse/storage/databases/main/cache.py
+++ b/synapse/storage/databases/main/cache.py
@@ -172,7 +172,6 @@ class CacheInvalidationWorkerStore(SQLBaseStore):
 
         self.get_latest_event_ids_in_room.invalidate((room_id,))
 
-        self.get_unread_message_count_for_user.invalidate_many((room_id,))
         self.get_unread_event_push_actions_by_room_for_user.invalidate_many((room_id,))
 
         if not backfilled: