summary refs log tree commit diff
path: root/synapse/handlers/__init__.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-27 10:33:01 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-27 10:33:01 +0100
commitc65885e1668d4a241a04a7cb3b970a0d6833a5ad (patch)
tree10e823a6b6dccc7770be0de5de1922e09695a1eb /synapse/handlers/__init__.py
parentModified /join/$identifier to support $identifier being a room ID in addition... (diff)
downloadsynapse-c65885e1668d4a241a04a7cb3b970a0d6833a5ad.tar.xz
Added support for GET /events/$eventid with auth checks.
Diffstat (limited to 'synapse/handlers/__init__.py')
-rw-r--r--synapse/handlers/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/__init__.py b/synapse/handlers/__init__.py
index 8a4aa6e5d6..7417a02cea 100644
--- a/synapse/handlers/__init__.py
+++ b/synapse/handlers/__init__.py
@@ -17,7 +17,7 @@ from .register import RegistrationHandler
 from .room import (
     MessageHandler, RoomCreationHandler, RoomMemberHandler, RoomListHandler
 )
-from .events import EventStreamHandler
+from .events import EventStreamHandler, EventHandler
 from .federation import FederationHandler
 from .login import LoginHandler
 from .profile import ProfileHandler
@@ -39,6 +39,7 @@ class Handlers(object):
         self.room_creation_handler = RoomCreationHandler(hs)
         self.room_member_handler = RoomMemberHandler(hs)
         self.event_stream_handler = EventStreamHandler(hs)
+        self.event_handler = EventHandler(hs)
         self.federation_handler = FederationHandler(hs)
         self.profile_handler = ProfileHandler(hs)
         self.presence_handler = PresenceHandler(hs)