mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 11:06:21 +00:00
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.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user