summary refs log tree commit diff
path: root/synapse/replication/http
diff options
context:
space:
mode:
authorHalf-Shot <will@half-shot.uk>2019-08-22 14:17:57 +0100
committerHalf-Shot <will@half-shot.uk>2019-08-22 14:21:54 +0100
commit3320aaab3a9bba3f5872371aba7053b41af9d0a0 (patch)
treebe424b87b362349e86e403914f1e1e2b640b9724 /synapse/replication/http
parentMerge pull request #5850 from matrix-org/erikj/retry_well_known_on_fail (diff)
downloadsynapse-3320aaab3a9bba3f5872371aba7053b41af9d0a0.tar.xz
Add "require_consent" parameter for registration
Diffstat (limited to 'synapse/replication/http')
-rw-r--r--synapse/replication/http/register.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/http/register.py b/synapse/replication/http/register.py
index 3341320a87..65702de082 100644
--- a/synapse/replication/http/register.py
+++ b/synapse/replication/http/register.py
@@ -72,6 +72,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
             "admin": admin,
             "user_type": user_type,
             "address": address,
+            "require_consent": require_consent,
         }
 
     @defer.inlineCallbacks
@@ -88,6 +89,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
             admin=content["admin"],
             user_type=content["user_type"],
             address=content["address"],
+            require_consent=content["require_consent"],
         )
 
         return (200, {})