0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-19 13:04:01 +01:00

Python is hard

This commit is contained in:
Travis Ralston 2018-10-15 14:46:09 -06:00
parent f293d124b6
commit 762a0982aa

View file

@ -469,11 +469,12 @@ class AuthHandler(BaseHandler):
def _get_params_terms(self):
return {
"policies": {
"privacy_policy": {
"version": self.hs.config.user_consent_version,
"en": {
"name": "Privacy Policy",
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
"privacy_policy": {
"version": self.hs.config.user_consent_version,
"en": {
"name": "Privacy Policy",
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
},
},
},
}