Fix web base url and privacy url configuration processing

pull/1224/head
dlyrsk 1 year ago
parent 396a89657d
commit 13a39498a3
No known key found for this signature in database
GPG Key ID: 3C0CD7FE13EB2848

@ -94,10 +94,10 @@ abstract class AppConfig {
_defaultHomeserver = json['default_homeserver'];
}
if (json['privacy_url'] is String) {
_webBaseUrl = json['privacy_url'];
_privacyUrl = json['privacy_url'];
}
if (json['web_base_url'] is String) {
_privacyUrl = json['web_base_url'];
_webBaseUrl = json['web_base_url'];
}
if (json['render_html'] is bool) {
renderHtml = json['render_html'];

Loading…
Cancel
Save