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

@ -413,7 +413,7 @@ class RegistrationTestCase(unittest.HomeserverTestCase):
)
)
self.get_success(
event_creation_handler.send_nonmember_event(requester, event, context)
event_creation_handler.handle_new_client_event(requester, event, context)
)
# Register a second user, which won't be be in the room (or even have an invite)