Fix typo of key name

This commit is contained in:
Erik Johnston 2014-08-15 16:47:09 +01:00
parent 506711749f
commit 6efc688917

View file

@ -603,7 +603,7 @@ class RoomMemberHandler(BaseHandler):
if prev_state and prev_state.membership == Membership.INVITE: if prev_state and prev_state.membership == Membership.INVITE:
room = yield self.store.get_room(room_id) room = yield self.store.get_room(room_id)
inviter = UserID.from_string( 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 should_do_dance = not inviter.is_mine and not room