summary refs log tree commit diff
path: root/synapse/rest/client/v1/room.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-17 10:13:16 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-17 10:13:16 +0100
commit425e6b4983ccb01bf9053edb14ff23a7eb9a0afb (patch)
tree7bdebcc130261183a7d3864f56857e7006df3454 /synapse/rest/client/v1/room.py
parentRemove get_joined_rooms_for_user from RoomMemberHandler (diff)
parentMerge pull request #787 from matrix-org/markjh/liberate_presence_handler (diff)
downloadsynapse-425e6b4983ccb01bf9053edb14ff23a7eb9a0afb.tar.xz
Merge branch 'develop' into markjh/member_cleanup
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index b223fb7e5f..9c89442ce6 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -570,7 +570,7 @@ class RoomTypingRestServlet(ClientV1RestServlet):
 
     def __init__(self, hs):
         super(RoomTypingRestServlet, self).__init__(hs)
-        self.presence_handler = hs.get_handlers().presence_handler
+        self.presence_handler = hs.get_presence_handler()
 
     @defer.inlineCallbacks
     def on_PUT(self, request, room_id, user_id):