mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:44:53 -04:00
Revert "Merge pull request #3431 from matrix-org/rav/erasure_visibility"
This reverts commitce0d911156
, reversing changes made tob4a5d767a9
.
This commit is contained in:
parent
516f884176
commit
1d009013b3
8 changed files with 25 additions and 213 deletions
|
@ -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, {}))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue