Update synapse/handlers/deactivate_account.py
Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
parent
25a0a36ad9
commit
bbe2a0f339
|
@ -120,7 +120,7 @@ class DeactivateAccountHandler(BaseHandler):
|
||||||
# parts users from rooms (if it isn't already running)
|
# parts users from rooms (if it isn't already running)
|
||||||
self._start_user_parting()
|
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.
|
# invitees list of rooms.
|
||||||
yield self._reject_pending_invites_for_user(user_id)
|
yield self._reject_pending_invites_for_user(user_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue