Write to disk merged base + user config files

This commit is contained in:
miruka 2019-08-30 19:43:58 -04:00
parent 92f6274458
commit cc4a33bb04
2 changed files with 3 additions and 4 deletions

View File

@ -11,11 +11,9 @@
- When qml syntax highlighting supports ES6 string interpolation, use them
- Fixes
- make install
- `make install`
- Make uvloop optional
- Distribute fonts
- Backspace bug
- Add missing shortcuts to config file
- Show error if uploading avatar fails or file is corrupted
@ -92,6 +90,7 @@
- Spinner when loading past room events or images
- Theming
- Bundle fonts
- File format
- icons.preferredPack: accept multiple values
- Find icon packs in user data dir

View File

@ -59,7 +59,7 @@ class JSONConfigFile(ConfigFile):
all_data = await self.default_data()
dict_update_recursive(all_data, data)
if len(data) != len(all_data):
if data != all_data:
await self.write(all_data)
return all_data