summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-01 11:08:45 +0100
committerErik Johnston <erik@matrix.org>2016-06-01 15:25:25 +0100
commitc8285564a3772db387fd5c94b1a82329dc320e36 (patch)
tree25785e1481ccd25d5931dea6a2655d65bee8cdb6 /synapse/storage/events.py
parentAdd get_users_with_read_receipts_in_room cache (diff)
downloadsynapse-c8285564a3772db387fd5c94b1a82329dc320e36.tar.xz
Use state to calculate get_users_in_room
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 4655669ba0..2b3f79577b 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -342,9 +342,6 @@ class EventsStore(SQLBaseStore):
             txn.call_after(self._get_current_state_for_key.invalidate_all)
             txn.call_after(self.get_rooms_for_user.invalidate_all)
             txn.call_after(self.get_users_in_room.invalidate, (event.room_id,))
-            txn.call_after(
-                self.get_users_with_pushers_in_room.invalidate, (event.room_id,)
-            )
             txn.call_after(self.get_joined_hosts_for_room.invalidate, (event.room_id,))
             txn.call_after(self.get_room_name_and_aliases.invalidate, (event.room_id,))