diff options
author | Paul Fariello <paul@fariello.eu> | 2019-03-22 19:12:15 +0140 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 17:12:31 +0200 |
commit | dadd0c0590603b76d2b08d6f62e29d1a5a0d50f0 (patch) | |
tree | 54d1d20c1b6fce403769611780f20526a18983b9 | |
parent | 91ee289c773a137c60e98c1e62db41346eb57363 (diff) | |
download | profani-tty-dadd0c0590603b76d2b08d6f62e29d1a5a0d50f0.tar.gz |
Add missing preferences for OMEMO logs
-rw-r--r-- | src/config/preferences.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 7d0c91fc..65e7a64d 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1685,6 +1685,8 @@ _get_group(preference_t pref) return PREF_GROUP_MUC; case PREF_PLUGINS_SOURCEPATH: return PREF_GROUP_PLUGINS; + case PREF_OMEMO_LOG: + return PREF_GROUP_OMEMO; default: return NULL; } @@ -1899,6 +1901,8 @@ _get_key(preference_t pref) return "statusbar.chat"; case PREF_STATUSBAR_ROOM: return "statusbar.room"; + case PREF_OMEMO_LOG: + return "log"; default: return NULL; } @@ -2017,6 +2021,8 @@ _get_default_string(preference_t pref) return "user"; case PREF_STATUSBAR_ROOM: return "room"; + case PREF_OMEMO_LOG: + return "redact"; default: return NULL; } |