From dadd0c0590603b76d2b08d6f62e29d1a5a0d50f0 Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Fri, 22 Mar 2019 19:12:15 +0140 Subject: [PATCH] Add missing preferences for OMEMO logs --- src/config/preferences.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; }