diff options
| author | Michael Vetter <jubalh@iodoru.org> | 2020-12-09 08:40:55 +0100 |
|---|---|---|
| committer | Michael Vetter <jubalh@iodoru.org> | 2020-12-09 08:44:44 +0100 |
| commit | 5179b253c4ac7283a2c73cb5bc0da440c8012de1 (patch) | |
| tree | 3c4ec87fec42498b299c4ce1828a7ccbc04b51aa /src/config | |
| parent | 55f09b61527e0cd868acdf3f32b077a882ab94b3 (diff) | |
| download | profani-tty-5179b253c4ac7283a2c73cb5bc0da440c8012de1.tar.gz | |
Purge omemo sendfile from config
https://github.com/profanity-im/profanity/pull/1375 added omemo media sharing support.
Thus the protection
(https://github.com/profanity-im/profanity/pull/1270) to sending files plainly in an omemo chat isn't
needed anymore and got removed.
Lets clean it from the config file.
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/preferences.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 9d7d4f7b..98ac5a0d 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -182,6 +182,11 @@ _prefs_load(void) g_key_file_set_string(prefs, PREF_GROUP_EXECUTABLES, "avatar.cmd", value); g_key_file_remove_key(prefs, PREF_GROUP_LOGGING, "avatar.cmd", NULL); } + + // 0.10 will have omemo media sharing. so disabling of senfile introduced in 0.9 is not needed (#1270) + if (g_key_file_has_key(prefs, PREF_GROUP_OMEMO, "sendfile", NULL)) { + g_key_file_remove_key(prefs, PREF_GROUP_OMEMO, "sendfile", NULL); + } _save_prefs(); |