diff options
author | Erik Johnston <erikj@jki.re> | 2018-06-25 14:37:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-25 14:37:01 +0100 |
commit | 33fdcfa957e64ec43bd866d09e12811140f75dcf (patch) | |
tree | 15dc74b7c90fa61cd53dff05eb19676a7bd5d935 /synapse/rest/client/v1/admin.py | |
parent | Remove all global reactor imports & pass it around explicitly (#3424) (diff) | |
parent | Add UserErasureWorkerStore to workers (diff) | |
download | synapse-33fdcfa957e64ec43bd866d09e12811140f75dcf.tar.xz |
Merge pull request #3441 from matrix-org/erikj/redo_erasure
Fix user erasure and re-enable
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-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, {})) |