summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-04-04 15:52:01 +0100
committerErik Johnston <erik@matrix.org>2016-04-04 16:30:15 +0100
commit3d76b7cb2ba05fbf17be0a6647f39c419f428c16 (patch)
tree922c17203f5e0967c5359aee0d299164c4324137 /synapse/handlers
parentUse computed prev event ids (diff)
downloadsynapse-3d76b7cb2ba05fbf17be0a6647f39c419f428c16.tar.xz
Store invites in a separate table.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room_member.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member.py b/synapse/handlers/room_member.py
index 7c1bb8cfe4..98e346d48e 100644
--- a/synapse/handlers/room_member.py
+++ b/synapse/handlers/room_member.py
@@ -400,7 +400,7 @@ class RoomMemberHandler(BaseHandler):
 
     @defer.inlineCallbacks
     def get_inviter(self, user_id, room_id):
-        invite = yield self.store.get_room_member(user_id=user_id, room_id=room_id)
+        invite = yield self.store.get_inviter(user_id=user_id, room_id=room_id)
         if invite:
             defer.returnValue(UserID.from_string(invite.sender))