summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-06-13 10:58:53 +0100
committerGitHub <noreply@github.com>2017-06-13 10:58:53 +0100
commitfdca6e36ee66b01ebbc7325e42fb811c1aec5b25 (patch)
treeda27a8f8e272b88ede975d25b592c7b2e29b4508 /synapse/replication
parentMerge pull request #2275 from matrix-org/erikj/tweark_user_directory_search (diff)
parentAdd cache for is_host_joined (diff)
downloadsynapse-fdca6e36ee66b01ebbc7325e42fb811c1aec5b25.tar.xz
Merge pull request #2274 from matrix-org/erikj/cache_is_host_joined
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)