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

@ -608,7 +608,9 @@ class HomeserverTestCase(TestCase):
if soft_failed:
event.internal_metadata.soft_failed = True
self.get_success(event_creator.send_nonmember_event(requester, event, context))
self.get_success(
event_creator.handle_new_client_event(requester, event, context)
)
return event.event_id