From dd8086772d274542a28b7af045572933f0b6ac7d Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 10 Feb 2020 14:52:42 +0100 Subject: xep-0308: create setting to toggle lmc and print settings if only `/correction` is run. --- src/config/preferences.c | 3 +++ src/config/preferences.h | 1 + 2 files changed, 4 insertions(+) (limited to 'src/config') diff --git a/src/config/preferences.c b/src/config/preferences.c index d817f907..dea6a529 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -1786,6 +1786,7 @@ _get_group(preference_t pref) case PREF_RECEIPTS_REQUEST: case PREF_REVEAL_OS: case PREF_TLS_CERTPATH: + case PREF_CORRECTION_ALLOW: return PREF_GROUP_CONNECTION; case PREF_OTR_LOG: case PREF_OTR_POLICY: @@ -2036,6 +2037,8 @@ _get_key(preference_t pref) return "log"; case PREF_OMEMO_POLICY: return "policy"; + case PREF_CORRECTION_ALLOW: + return "correction.allow"; default: return NULL; } diff --git a/src/config/preferences.h b/src/config/preferences.h index 2a30f655..4c903272 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -161,6 +161,7 @@ typedef enum { PREF_OMEMO_LOG, PREF_OMEMO_POLICY, PREF_OCCUPANTS_WRAP, + PREF_CORRECTION_ALLOW, } preference_t; typedef struct prof_alias_t { -- cgit 1.4.1-2-gfad0 /test_cmd_disconnect.c'>log tree commit diff stats
path: root/tests/unittests/test_cmd_disconnect.c
blob: 90c99b3cbb49f62ba75f28527df16693fce03f24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36