mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Use state_key rather than target_user_id
This commit is contained in:
parent
4b63b06cad
commit
3281fec07a
@ -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 New Issue
Block a user