Use state_key rather than target_user_id

This commit is contained in:
Mark Haines 2014-08-26 16:14:54 +01:00
parent 4b63b06cad
commit 3281fec07a

View File

@ -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(