about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-03-22 19:12:15 +0140
committerPaul Fariello <paul@fariello.eu>2019-04-10 17:12:31 +0200
commitdadd0c0590603b76d2b08d6f62e29d1a5a0d50f0 (patch)
tree54d1d20c1b6fce403769611780f20526a18983b9 /src
parent91ee289c773a137c60e98c1e62db41346eb57363 (diff)
downloadprofani-tty-dadd0c0590603b76d2b08d6f62e29d1a5a0d50f0.tar.gz
Add missing preferences for OMEMO logs
Diffstat (limited to 'src')
-rw-r--r--src/config/preferences.c6
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;
     }
href='#n161'>161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266