mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05: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:
parent
55f09b6152
commit
5179b253c4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user