summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-08-26 09:26:07 +0100
committerKegan Dougal <kegan@matrix.org>2014-08-26 09:26:07 +0100
commitcab3095803db0c046f414959d12e3549505f54c4 (patch)
treea00409373497d934a2f4bbc488f5eef3d5421420 /synapse/handlers/federation.py
parentImpl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ... (diff)
downloadsynapse-cab3095803db0c046f414959d12e3549505f54c4.tar.xz
Removed member list servlet: now using generic state paths.
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 aa3bf273f7..351bb3c084 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -56,7 +56,7 @@ class FederationHandler(BaseHandler):
             content.update({"membership": Membership.JOIN})
             new_event = self.event_factory.create_event(
                 etype=RoomMemberEvent.TYPE,
-                target_user_id=event.user_id,
+                state_key=event.user_id,
                 room_id=event.room_id,
                 user_id=event.user_id,
                 membership=Membership.JOIN,