From 3281fec07aaf4f6b84ea9a0e02d88768ccc882b7 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 26 Aug 2014 16:14:54 +0100 Subject: Use state_key rather than target_user_id --- synapse/handlers/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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( -- cgit 1.4.1