mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 00:38:42 -04:00
Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"
This reverts commitce0d911156
, reversing changes made tob4a5d767a9
.
This commit is contained in:
parent
516f884176
commit
1d009013b3
8 changed files with 25 additions and 213 deletions
|
@ -42,7 +42,7 @@ class DeactivateAccountHandler(BaseHandler):
|
|||
reactor.callWhenRunning(self._start_user_parting)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def deactivate_account(self, user_id, erase_data):
|
||||
def deactivate_account(self, user_id):
|
||||
"""Deactivate a user's account
|
||||
|
||||
Args:
|
||||
|
@ -92,11 +92,6 @@ class DeactivateAccountHandler(BaseHandler):
|
|||
# delete from user directory
|
||||
yield self.user_directory_handler.handle_user_deactivated(user_id)
|
||||
|
||||
# Mark the user as erased, if they asked for that
|
||||
if erase_data:
|
||||
logger.info("Marking %s as erased", user_id)
|
||||
yield self.store.mark_user_erased(user_id)
|
||||
|
||||
# Now start the process that goes through that list and
|
||||
# parts users from rooms (if it isn't already running)
|
||||
self._start_user_parting()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue