diff options
author | Erik Johnston <erikj@jki.re> | 2018-06-22 15:06:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 15:06:44 +0100 |
commit | ce0d911156b355c5bf452120bfb08653dad96497 (patch) | |
tree | f473eea5f916d1ff056fecd7642a9461979752dd /synapse/rest/client/v1 | |
parent | Merge pull request #3428 from matrix-org/erikj/persisted_pdu (diff) | |
parent | Filter out erased messages (diff) | |
download | synapse-ce0d911156b355c5bf452120bfb08653dad96497.tar.xz |
Merge pull request #3431 from matrix-org/rav/erasure_visibility
Support hiding events from deleted users
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, {})) |