diff options
author | Half-Shot <will@half-shot.uk> | 2019-08-22 14:17:57 +0100 |
---|---|---|
committer | Half-Shot <will@half-shot.uk> | 2019-08-22 14:21:54 +0100 |
commit | 3320aaab3a9bba3f5872371aba7053b41af9d0a0 (patch) | |
tree | be424b87b362349e86e403914f1e1e2b640b9724 /synapse/replication/http/register.py | |
parent | Merge pull request #5850 from matrix-org/erikj/retry_well_known_on_fail (diff) | |
download | synapse-3320aaab3a9bba3f5872371aba7053b41af9d0a0.tar.xz |
Add "require_consent" parameter for registration
Diffstat (limited to 'synapse/replication/http/register.py')
-rw-r--r-- | synapse/replication/http/register.py | 2 |
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, {}) |