diff options
author | Mark Haines <mark.haines@openmarket.com> | 2014-08-26 16:13:26 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@openmarket.com> | 2014-08-26 16:13:32 +0100 |
commit | a29d12a18a00821391c4b1dcd47b3be68e35ed33 (patch) | |
tree | d00a13e2909d7825f46ac677e171c5e932b1c3eb | |
parent | Fix pyflakes errors (diff) | |
download | synapse-a29d12a18a00821391c4b1dcd47b3be68e35ed33.tar.xz |
Use state_key rather than target_user_id
-rw-r--r-- | synapse/handlers/federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 2680678de7..bfc1ab86f2 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -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 ) |