summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-04 14:29:03 +0100
committerErik Johnston <erik@matrix.org>2017-05-04 14:29:03 +0100
commit9ac263ed1b6f5dee46e85fe42ddfe7f9239e9690 (patch)
treee15cdc403760bd808ac8e8712a0ff3a6aece15ba /synapse
parentAdd cache for get_current_hosts_in_room (diff)
downloadsynapse-9ac263ed1b6f5dee46e85fe42ddfe7f9239e9690.tar.xz
Add new storage functions to slave store
Diffstat (limited to 'synapse')
-rw-r--r--synapse/replication/slave/storage/events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/replication/slave/storage/events.py b/synapse/replication/slave/storage/events.py
index ab48ff925e..fcaf58b93b 100644
--- a/synapse/replication/slave/storage/events.py
+++ b/synapse/replication/slave/storage/events.py
@@ -144,6 +144,9 @@ class SlavedEventStore(BaseSlavedStore):
         RoomMemberStore.__dict__["_get_joined_users_from_context"]
     )
 
+    get_joined_hosts = DataStore.get_joined_hosts.__func__
+    _get_joined_hosts = RoomMemberStore.__dict__["_get_joined_hosts"]
+
     get_recent_events_for_room = DataStore.get_recent_events_for_room.__func__
     get_room_events_stream_for_rooms = (
         DataStore.get_room_events_stream_for_rooms.__func__