diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-02 09:55:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 09:55:52 -0400 |
commit | c01bc5f43d1c7d0a25f397b542ced57894395519 (patch) | |
tree | 77f8fa240987be9d35564985f8defe33c5f49188 /synapse/handlers/room.py | |
parent | Delete messages for hidden devices from `device_inbox` (#11199) (diff) | |
download | synapse-c01bc5f43d1c7d0a25f397b542ced57894395519.tar.xz |
Add remaining type hints to `synapse.events`. (#11098)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 99e9b37344..969eb3b9b0 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -525,7 +525,7 @@ class RoomCreationHandler: ): await self.room_member_handler.update_membership( requester, - UserID.from_string(old_event["state_key"]), + UserID.from_string(old_event.state_key), new_room_id, "ban", ratelimit=False, |