diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-26 14:54:30 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-26 14:54:30 +0100 |
commit | bed10f9880068306be3fcdd15a51b1712c6159f2 (patch) | |
tree | 5a7fee7675320aff0983da1e5d787de88026fd9a /synapse/storage/events.py | |
parent | Merge pull request #1048 from matrix-org/erikj/fix_mail_name (diff) | |
download | synapse-bed10f9880068306be3fcdd15a51b1712c6159f2.tar.xz |
Use state handler instead of get_users_in_room/get_joined_hosts
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 57e5005285..5cbe8c5978 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -393,7 +393,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_joined_hosts_for_room.invalidate, (event.room_id,)) # Add an entry to the current_state_resets table to record the point # where we clobbered the current state |