Refactor user preferences, add defaults from file
* Turn prefs into a flat hash structure, since nesting is not worth the trouble * Add a custom serializer class for prefs * Add a config file for defaults and merge set prefs with unset ones * Use booleans for "true" and "false", and integers where appropriate
This commit is contained in:
2
config/default_preferences.yml
Normal file
2
config/default_preferences.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
lightning_notify_sats_received: disabled # or xmpp, email
|
||||
xmpp_exchange_contacts_with_invitees: true
|
||||
Reference in New Issue
Block a user