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/replication/slave/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/replication/slave/storage/events.py')
-rw-r--r-- | synapse/replication/slave/storage/events.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py index 65e982a0ce..00ad06fa4d 100644 --- a/synapse/replication/slave/storage/events.py +++ b/synapse/replication/slave/storage/events.py @@ -216,7 +216,6 @@ class SlavedEventStore(BaseSlavedStore): self._get_current_state_for_key.invalidate_all() self.get_rooms_for_user.invalidate_all() self.get_users_in_room.invalidate((event.room_id,)) - # self.get_joined_hosts_for_room.invalidate((event.room_id,)) self._invalidate_get_event_cache(event.event_id) @@ -240,7 +239,6 @@ class SlavedEventStore(BaseSlavedStore): if event.type == EventTypes.Member: self.get_rooms_for_user.invalidate((event.state_key,)) - # self.get_joined_hosts_for_room.invalidate((event.room_id,)) self.get_users_in_room.invalidate((event.room_id,)) self._membership_stream_cache.entity_has_changed( event.state_key, event.internal_metadata.stream_ordering |