kill off send_nonmember_event

This is now redundant, and we can just call `handle_new_client_event` directly.
This commit is contained in:
Richard van der Hoff 2020-10-02 18:10:55 +01:00
parent fd0282201e
commit e775b5bb5b
4 changed files with 31 additions and 53 deletions

View file

@ -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()