Merge pull request #1224 from dlyrsk/main

Fix web base url and privacy url configuration processing (Recreated)
pull/1272/head
Krille-chan 7 months ago committed by GitHub
commit 9c6e2a1df6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save