Merge branch 'develop' into storage_transactions

This commit is contained in:
Mark Haines 2014-08-26 16:15:49 +01:00
commit 47c1a3d454

View File

@ -114,7 +114,7 @@ class FederationHandler(BaseHandler):
if event.type == RoomMemberEvent.TYPE: if event.type == RoomMemberEvent.TYPE:
if event.membership == Membership.JOIN: 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( self.distributor.fire(
"user_joined_room", user=user, room_id=event.room_id "user_joined_room", user=user, room_id=event.room_id
) )