summary refs log tree commit diff
path: root/synapse/handlers/room_member.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-16 20:06:55 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-16 20:06:55 +0100
commit80cb9becd8176fdc357ad64170106b3ed52df650 (patch)
tree0d3944d64e776a20f985948779896b50b5204501 /synapse/handlers/room_member.py
parentget_room_members is unused now (diff)
downloadsynapse-80cb9becd8176fdc357ad64170106b3ed52df650.tar.xz
Remove get_joined_rooms_for_user from RoomMemberHandler
Diffstat (limited to 'synapse/handlers/room_member.py')
-rw-r--r--synapse/handlers/room_member.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index b785a8fa97..4e3c1c1c96 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -428,8 +428,7 @@ class RoomMemberHandler(BaseHandler):
         )
 
         if invitee:
-            handler = self.hs.get_handlers().room_member_handler
-            yield handler.update_membership(
+            yield self.update_membership(
                 requester,
                 UserID.from_string(invitee),
                 room_id,