Use state_key rather than target_user_id

paul/schema_breaking_changes
Mark Haines 2014-08-26 16:14:54 +01:00
parent 4b63b06cad
commit 3281fec07a
1 changed files with 1 additions and 1 deletions

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(