Update synapse/handlers/deactivate_account.py

Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
Brendan Abolivier 2019-09-27 16:10:36 +01:00 committed by GitHub
parent 25a0a36ad9
commit bbe2a0f339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class DeactivateAccountHandler(BaseHandler):
# parts users from rooms (if it isn't already running)
self._start_user_parting()
# Reject all pending invites for the user, so that it doesn't show up in the
# Reject all pending invites for the user, so that they do not show up in the
# invitees list of rooms.
yield self._reject_pending_invites_for_user(user_id)