summary refs log tree commit diff
path: root/synapse/handlers/room_member.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-05-11 09:09:20 +0100
committerMark Haines <mjark@negativecurvature.net>2016-05-11 09:09:20 +0100
commit30057b1e154a0fdf1f778aa952c2f7c88656004e (patch)
treeff07f7aeb479ee8b35716b88ac3154ce31427299 /synapse/handlers/room_member.py
parentPass through _get_state_group_for_events (diff)
downloadsynapse-30057b1e154a0fdf1f778aa952c2f7c88656004e.tar.xz
Move _create_new_client_event and handle_new_client_event out of base handler
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room_member.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index ed2cda837f..69de145c6f 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -113,7 +113,7 @@ class RoomMemberHandler(BaseHandler):
             prev_event_ids=prev_event_ids,
         )
 
-        yield self.handle_new_client_event(
+        yield self.msg_handler.handle_new_client_event(
             requester,
             event,
             context,
@@ -357,7 +357,7 @@ class RoomMemberHandler(BaseHandler):
                 # so don't really fit into the general auth process.
                 raise AuthError(403, "Guest access not allowed")
 
-        yield self.handle_new_client_event(
+        yield message_handler.handle_new_client_event(
             requester,
             event,
             context,