summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-13 09:56:18 +0100
committerErik Johnston <erik@matrix.org>2017-06-13 09:56:18 +0100
commitd53fe399ebb497f67efc99ebb12d96486503629a (patch)
treed6b1e57629a13036bef7fdca02c5c1c72a40f255 /synapse/replication
parentMerge pull request #2266 from matrix-org/erikj/host_in_room (diff)
downloadsynapse-d53fe399ebb497f67efc99ebb12d96486503629a.tar.xz
Add cache for is_host_joined
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/slave/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py

index 7034f48b50..94ebbffc1b 100644 --- a/synapse/replication/slave/storage/events.py +++ b/synapse/replication/slave/storage/events.py
@@ -153,7 +153,7 @@ class SlavedEventStore(BaseSlavedStore): get_room_events_stream_for_rooms = ( DataStore.get_room_events_stream_for_rooms.__func__ ) - is_host_joined = DataStore.is_host_joined.__func__ + is_host_joined = RoomMemberStore.__dict__["is_host_joined"] get_stream_token_for_event = DataStore.get_stream_token_for_event.__func__ _set_before_and_after = staticmethod(DataStore._set_before_and_after)