summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-05-23 15:24:31 +0100
committerRichard van der Hoff <richard@matrix.org>2018-05-23 15:24:31 +0100
commit82191b08f6a45c693551983a48b49a9fc30184c4 (patch)
tree90967eeb42637ea8c525ca2ca5c12b0168a3c3ea /synapse/config
parentstyle (diff)
downloadsynapse-82191b08f6a45c693551983a48b49a9fc30184c4.tar.xz
Support for putting %(consent_uri)s in messages
Make it possible to put the URI in the error message and the server notice that
get sent by the server
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/consent_config.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/synapse/config/consent_config.py b/synapse/config/consent_config.py
index 44c4711e6c..ddcd305f4c 100644
--- a/synapse/config/consent_config.py
+++ b/synapse/config/consent_config.py
@@ -43,10 +43,13 @@ DEFAULT_CONFIG = """\
 #   version: 1.0
 #   server_notice_content:
 #     msgtype: m.text
-#     body: |
-#       Pls do consent kthx
-#   block_events_error: |
-#     You can't send any messages until you consent to the privacy policy.
+#     body: >-
+#       To continue using this homeserver you must review and agree to the
+#       terms and conditions at %(consent_uri)s
+#   block_events_error: >-
+#     To continue using this homeserver you must review and agree to the
+#     terms and conditions at %(consent_uri)s
+#
 """