summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-31 11:05:16 +0100
committerDavid Baker <dave@matrix.org>2016-05-31 11:05:16 +0100
commit887c6e6f052e1dc5e61a0b4bade8e7bd3a63e275 (patch)
tree81ccb0ae8e2a57d0acacc1b604f65859875c6532 /synapse/handlers
parentFix to allow start with postgres (diff)
downloadsynapse-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/handlers')
-rw-r--r--synapse/handlers/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/__init__.py b/synapse/handlers/__init__.py
index 9442ae6f1d..0ac5d3da3a 100644
--- a/synapse/handlers/__init__.py
+++ b/synapse/handlers/__init__.py
@@ -17,7 +17,7 @@ from synapse.appservice.scheduler import AppServiceScheduler
 from synapse.appservice.api import ApplicationServiceApi
 from .register import RegistrationHandler
 from .room import (
-    RoomCreationHandler, RoomListHandler, RoomContextHandler,
+    RoomCreationHandler, RoomContextHandler,
 )
 from .room_member import RoomMemberHandler
 from .message import MessageHandler
@@ -50,7 +50,6 @@ class Handlers(object):
         self.event_handler = EventHandler(hs)
         self.federation_handler = FederationHandler(hs)
         self.profile_handler = ProfileHandler(hs)
-        self.room_list_handler = RoomListHandler(hs)
         self.directory_handler = DirectoryHandler(hs)
         self.admin_handler = AdminHandler(hs)
         self.receipts_handler = ReceiptsHandler(hs)