summary refs log tree commit diff
path: root/synapse/handlers/deactivate_account.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-06-26 10:26:54 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-06-26 10:26:54 +0100
commit1e788db430344c897b185de831b385a81c23d899 (patch)
treef058ebe9a9b861762c7271709eab397d458b49b3 /synapse/handlers/deactivate_account.py
parenttypos (diff)
downloadsynapse-1e788db430344c897b185de831b385a81c23d899.tar.xz
add GDPR erase param to deactivate API
Diffstat (limited to 'synapse/handlers/deactivate_account.py')
-rw-r--r--synapse/handlers/deactivate_account.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/deactivate_account.py b/synapse/handlers/deactivate_account.py
index a18d95397c..a84b7b8b80 100644
--- a/synapse/handlers/deactivate_account.py
+++ b/synapse/handlers/deactivate_account.py
@@ -47,6 +47,7 @@ class DeactivateAccountHandler(BaseHandler):
 
         Args:
             user_id (str): ID of user to be deactivated
+            erase_data (bool): whether to GDPR-erase the user's data
 
         Returns:
             Deferred