diff options
author | David Baker <dbkr@users.noreply.github.com> | 2016-05-31 11:32:44 +0100 |
---|---|---|
committer | David Baker <dbkr@users.noreply.github.com> | 2016-05-31 11:32:44 +0100 |
commit | 163e48c0e355375306351ff572cd2d41b7e8a492 (patch) | |
tree | 81ccb0ae8e2a57d0acacc1b604f65859875c6532 /synapse/rest | |
parent | Fix to allow start with postgres (diff) | |
parent | Split out the room list handler (diff) | |
download | synapse-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.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)) |