From 6efc688917cac03f91c7337015741f2c6e82e0f1 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 15 Aug 2014 16:47:09 +0100 Subject: Fix typo of key name --- synapse/handlers/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers/room.py') 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 -- cgit 1.4.1