summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-15 16:47:09 +0100
committerErik Johnston <erik@matrix.org>2014-08-15 16:47:26 +0100
commit6efc688917cac03f91c7337015741f2c6e82e0f1 (patch)
treeeaee685bf46c76bbff412e7f96fead616d521675 /synapse/handlers/room.py
parentWe no longer need to special case room config events. (diff)
downloadsynapse-6efc688917cac03f91c7337015741f2c6e82e0f1.tar.xz
Fix typo of key name
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 4ecfb278be..14ffddc630 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -603,7 +603,7 @@ class RoomMemberHandler(BaseHandler):
             if prev_state and prev_state.membership == Membership.INVITE:
                 room = yield self.store.get_room(room_id)
                 inviter = UserID.from_string(
-                    prev_state.sender, self.hs
+                    prev_state.user_id, self.hs
                 )
 
                 should_do_dance = not inviter.is_mine and not room