summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorDavid Baker <dbkr@users.noreply.github.com>2016-05-31 11:32:44 +0100
committerDavid Baker <dbkr@users.noreply.github.com>2016-05-31 11:32:44 +0100
commit163e48c0e355375306351ff572cd2d41b7e8a492 (patch)
tree81ccb0ae8e2a57d0acacc1b604f65859875c6532 /synapse/rest
parentFix to allow start with postgres (diff)
parentSplit out the room list handler (diff)
downloadsynapse-163e48c0e355375306351ff572cd2d41b7e8a492.tar.xz
Merge pull request #802 from matrix-org/dbkr/split_room_list_handler
Split out the room list handler
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py

index 644aa4e513..2d22bbdaa3 100644 --- a/synapse/rest/client/v1/room.py +++ b/synapse/rest/client/v1/room.py
@@ -279,7 +279,7 @@ class PublicRoomListRestServlet(ClientV1RestServlet): @defer.inlineCallbacks def on_GET(self, request): - handler = self.handlers.room_list_handler + handler = self.hs.get_room_list_handler() data = yield handler.get_public_room_list() defer.returnValue((200, data))