mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 15:39:00 +03:00
Use state_key rather than target_user_id
This commit is contained in:
parent
4b63b06cad
commit
3281fec07a
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue