xep-0308: create setting to toggle lmc
and print settings if only `/correction` is run.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user