summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-08-26 16:14:54 +0100
committerMark Haines <mark.haines@matrix.org>2014-08-26 16:14:54 +0100
commit3281fec07aaf4f6b84ea9a0e02d88768ccc882b7 (patch)
tree06f0244475a137fa6fc4ad4af666ab0cef6e311e
parentMerge branch 'develop' into storage_transactions (diff)
downloadsynapse-3281fec07aaf4f6b84ea9a0e02d88768ccc882b7.tar.xz
Use state_key rather than target_user_id
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 7e34b4a6fc..a94cfaec2a 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -530,7 +530,7 @@ class RoomMemberHandler(BaseHandler):
 
         snapshot = yield self.store.snapshot_room(
             event.room_id, event.user_id,
-            RoomMemberEvent.TYPE, event.target_user_id
+            RoomMemberEvent.TYPE, target_user_id
         )
         ## TODO(markjh): get prev state from snapshot.
         prev_state = yield self.store.get_room_member(