feat: Add presetHomeserver config to enforce a homeserver for web

This commit is contained in:
Christian Kußowski 2026-02-22 11:14:45 +01:00
commit e9efce150e
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
11 changed files with 77 additions and 49 deletions

View file

@ -52,7 +52,9 @@ enum AppSettings<T> {
// colorSchemeSeed stored as ARGB int
colorSchemeSeedInt<int>('chat.fluffy.color_scheme_seed', 0xFF5625BA),
emojiSuggestionLocale<String>('emoji_suggestion_locale', ''),
enableSoftLogout<bool>('chat.fluffy.enable_soft_logout', false);
enableSoftLogout<bool>('chat.fluffy.enable_soft_logout', false),
presetHomeserver<String>('chat.fluffy.preset_homeserver', ''),
welcomeText<String>('chat.fluffy.welcome_text', '');
final String key;
final T defaultValue;