diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-10-02 18:10:55 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-10-05 19:04:10 +0100 |
commit | e775b5bb5bb2b9e42607f9514ae2e270270a8932 (patch) | |
tree | eb1c574616f47699b3cd7b534e84edd8de694e9d /synapse/handlers/room.py | |
parent | pull up event.sender assertion (diff) | |
download | synapse-e775b5bb5bb2b9e42607f9514ae2e270270a8932.tar.xz |
kill off `send_nonmember_event`
This is now redundant, and we can just call `handle_new_client_event` directly.
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 530bf0ab88..d0530a446c 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -230,8 +230,8 @@ class RoomCreationHandler(BaseHandler): ) # now send the tombstone - await self.event_creation_handler.send_nonmember_event( - requester, tombstone_event, tombstone_context + await self.event_creation_handler.handle_new_client_event( + requester=requester, event=tombstone_event, context=tombstone_context, ) old_room_state = await tombstone_context.get_current_state_ids() |