summary refs log tree commit diff
path: root/synapse/handlers/deactivate_account.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-20 17:39:29 +0000
committerErik Johnston <erik@matrix.org>2019-03-20 17:40:29 +0000
commitaa959a6c0705067cd01d1fd0ba42f51f320ed51b (patch)
treefcaa61bbe71c3658d6ecffb9f7165f9611e260ac /synapse/handlers/deactivate_account.py
parentMove requester check into assert_accepted_privacy_policy (diff)
downloadsynapse-aa959a6c0705067cd01d1fd0ba42f51f320ed51b.tar.xz
Use flags
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 75fe50c42c..97d3f31d98 100644
--- a/synapse/handlers/deactivate_account.py
+++ b/synapse/handlers/deactivate_account.py
@@ -164,6 +164,7 @@ class DeactivateAccountHandler(BaseHandler):
                     room_id,
                     "leave",
                     ratelimit=False,
+                    require_consent=False,
                 )
             except Exception:
                 logger.exception(