summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-09-27 16:15:01 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-09-27 16:15:01 +0100
commit3e42d47a5a06ea5d353b75a42040107bf401d8ba (patch)
treee347e4ea038ef8ddf379d6801805fa1ad5a100f8 /synapse/handlers
parentUpdate synapse/handlers/deactivate_account.py (diff)
downloadsynapse-3e42d47a5a06ea5d353b75a42040107bf401d8ba.tar.xz
Incorporate review
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/deactivate_account.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py
index 5f142f82c2..63267a0a4c 100644
--- a/synapse/handlers/deactivate_account.py
+++ b/synapse/handlers/deactivate_account.py
@@ -120,8 +120,8 @@ 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 they do not show up in the
-        # invitees list of rooms.
+        # Reject all pending invites for the user, so that the user doesn't show up in the
+        # "invited" section of rooms' members list.
         yield self._reject_pending_invites_for_user(user_id)
 
         # Remove all information on the user from the account_validity table.
@@ -143,8 +143,6 @@ class DeactivateAccountHandler(BaseHandler):
         user = UserID.from_string(user_id)
         pending_invites = yield self.store.get_invited_rooms_for_user(user_id)
 
-        logger.info(pending_invites)
-
         for room in pending_invites:
             try:
                 yield self._room_member_handler.update_membership(