diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-06-22 16:35:10 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-06-22 16:35:10 +0100 |
commit | 1d009013b3c3e814177afc59f066e02a202b21cd (patch) | |
tree | 798478eec865dc44d7a203bd0423026ebf1710be /synapse/rest/client/v1/admin.py | |
parent | Merge pull request #3435 from matrix-org/rav/fix_event_push_actions_tablescan (diff) | |
download | synapse-1d009013b3c3e814177afc59f066e02a202b21cd.tar.xz |
Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"
This reverts commit ce0d911156b355c5bf452120bfb08653dad96497, reversing changes made to b4a5d767a94f1680d07edfd583aae54ce422573e.
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py index ddaedb2a8c..b8665a45eb 100644 --- a/synapse/rest/client/v1/admin.py +++ b/synapse/rest/client/v1/admin.py @@ -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, {})) |