summary refs log tree commit diff
path: root/synapse/replication/http
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-08-22 14:47:34 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-08-22 14:47:34 +0100
commit1c5b8c622248d4ee3b38b01a997eaa8844859beb (patch)
tree7a81d534e2458b4d179056c7721a067260509d2c /synapse/replication/http
parentDo not send consent notices if "no-consent-required" is set (diff)
downloadsynapse-1c5b8c622248d4ee3b38b01a997eaa8844859beb.tar.xz
Revert "Add "require_consent" parameter for registration"
This reverts commit 3320aaab3a9bba3f5872371aba7053b41af9d0a0.
Diffstat (limited to 'synapse/replication/http')
-rw-r--r--synapse/replication/http/register.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/replication/http/register.py b/synapse/replication/http/register.py
index 65702de082..3341320a87 100644
--- a/synapse/replication/http/register.py
+++ b/synapse/replication/http/register.py
@@ -72,7 +72,6 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
             "admin": admin,
             "user_type": user_type,
             "address": address,
-            "require_consent": require_consent,
         }
 
     @defer.inlineCallbacks
@@ -89,7 +88,6 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
             admin=content["admin"],
             user_type=content["user_type"],
             address=content["address"],
-            require_consent=content["require_consent"],
         )
 
         return (200, {})