diff options
author | David Baker <dave@matrix.org> | 2016-05-31 11:05:16 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-05-31 11:05:16 +0100 |
commit | 887c6e6f052e1dc5e61a0b4bade8e7bd3a63e275 (patch) | |
tree | 81ccb0ae8e2a57d0acacc1b604f65859875c6532 /synapse/rest/client | |
parent | Fix to allow start with postgres (diff) | |
download | synapse-887c6e6f052e1dc5e61a0b4bade8e7bd3a63e275.tar.xz |
Split out the room list handler
So I can use it from federation bits without pulling in all the handlers.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v1/room.py | 2 |
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)) |