Use state_key rather than target_user_id

This commit is contained in:
Mark Haines 2014-08-26 16:13:26 +01:00
parent ac21dfff6d
commit a29d12a18a
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class FederationHandler(BaseHandler):
if event.type == RoomMemberEvent.TYPE:
if event.membership == Membership.JOIN:
user = self.hs.parse_userid(event.target_user_id)
user = self.hs.parse_userid(event.state_key)
self.distributor.fire(
"user_joined_room", user=user, room_id=event.room_id
)