summary refs log tree commit diff
path: root/synapse/handlers/room_list.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-12 14:34:31 +0000
committerErik Johnston <erik@matrix.org>2018-03-13 10:55:47 +0000
commit265b993b8afd2501b2aa3a50670f39d6d97eddb7 (patch)
tree65949cc5f26498dde00051dfb552073f5a541485 /synapse/handlers/room_list.py
parentMove property setting from ReplicationLayer to FederationBase (diff)
downloadsynapse-265b993b8afd2501b2aa3a50670f39d6d97eddb7.tar.xz
Split replication layer into two
Diffstat (limited to 'synapse/handlers/room_list.py')
-rw-r--r--synapse/handlers/room_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_list.py b/synapse/handlers/room_list.py
index dfa09141ed..f79bd8902f 100644
--- a/synapse/handlers/room_list.py
+++ b/synapse/handlers/room_list.py
@@ -409,7 +409,7 @@ class RoomListHandler(BaseHandler):
     def _get_remote_list_cached(self, server_name, limit=None, since_token=None,
                                 search_filter=None, include_all_networks=False,
                                 third_party_instance_id=None,):
-        repl_layer = self.hs.get_replication_layer()
+        repl_layer = self.hs.get_replication_client()
         if search_filter:
             # We can't cache when asking for search
             return repl_layer.get_public_rooms(