Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"

This reverts commit ce0d911156, reversing
changes made to b4a5d767a9.
This commit is contained in:
Richard van der Hoff 2018-06-22 16:35:10 +01:00
parent 516f884176
commit 1d009013b3
8 changed files with 25 additions and 213 deletions

View file

@ -254,9 +254,7 @@ class DeactivateAccountRestServlet(ClientV1RestServlet):
if not is_admin:
raise AuthError(403, "You are not a server admin")
yield self._deactivate_account_handler.deactivate_account(
target_user_id, False,
)
yield self._deactivate_account_handler.deactivate_account(target_user_id)
defer.returnValue((200, {}))