diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 6 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 62b75051..47be88fd 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1882,6 +1882,8 @@ _get_group(preference_t pref) case PREF_OMEMO_POLICY: case PREF_OMEMO_TRUST_MODE: return PREF_GROUP_OMEMO; + case PREF_OX_LOG: + return PREF_GROUP_OX; default: return NULL; } @@ -2153,6 +2155,8 @@ _get_key(preference_t pref) return "stamp.outgoing"; case PREF_INCOMING_STAMP: return "stamp.incoming"; + case PREF_OX_LOG: + return "log"; default: return NULL; } @@ -2297,6 +2301,8 @@ _get_default_string(preference_t pref) return NULL; case PREF_URL_SAVE_CMD: return NULL; // Default to built-in method. + case PREF_OX_LOG: + return "redact"; default: return NULL; } diff --git a/src/config/preferences.h b/src/config/preferences.h index 46f2669a..5fef498d 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -179,6 +179,7 @@ typedef enum { PREF_OUTGOING_STAMP, PREF_INCOMING_STAMP, PREF_NOTIFY_ROOM_OFFLINE, + PREF_OX_LOG, } preference_t; typedef struct prof_alias_t |