diff options
author | Erik Johnston <erik@matrix.org> | 2018-06-25 13:42:55 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-06-25 13:42:55 +0100 |
commit | 244484bf3c1a8c75186ad58296d6554f18bd400b (patch) | |
tree | 06165381baa041cc63a4b1e7bc076bf67f3c6cdc /synapse/rest/client/v1 | |
parent | Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility" (diff) | |
download | synapse-244484bf3c1a8c75186ad58296d6554f18bd400b.tar.xz |
Revert "Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility""
This reverts commit 1d009013b3c3e814177afc59f066e02a202b21cd.
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r-- | synapse/rest/client/v1/admin.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py index b8665a45eb..ddaedb2a8c 100644 --- a/synapse/rest/client/v1/admin.py +++ b/synapse/rest/client/v1/admin.py @@ -254,7 +254,9 @@ 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) + yield self._deactivate_account_handler.deactivate_account( + target_user_id, False, + ) defer.returnValue((200, {})) |