summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-26 16:29:44 +0100
committerErik Johnston <erik@matrix.org>2014-08-26 16:29:44 +0100
commit8885c8546c3493ada2f00b1626d45fa90109ab5f (patch)
tree7dbe04a84413a4511bcc3ef62d227659052cefa7 /synapse/handlers/federation.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into stream_refactor (diff)
parentRespect 'limit' param in initialSync api (diff)
downloadsynapse-8885c8546c3493ada2f00b1626d45fa90109ab5f.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py2
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
                 )