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): def _get_params_terms(self):
return { return {
"policies": { "policies": {
"privacy_policy": { "privacy_policy": {
"version": self.hs.config.user_consent_version, "version": self.hs.config.user_consent_version,
"en": { "en": {
"name": "Privacy Policy", "name": "Privacy Policy",
"url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,), "url": "%s/_matrix/consent" % (self.hs.config.public_baseurl,),
},
}, },
}, },
} }