Added console MUC message preference
This commit is contained in:
@@ -1034,6 +1034,7 @@ _get_group(preference_t pref)
|
||||
case PREF_ENC_WARN:
|
||||
case PREF_INPBLOCK_DYNAMIC:
|
||||
case PREF_TLS_SHOW:
|
||||
case PREF_CONSOLE_MUC:
|
||||
return PREF_GROUP_UI;
|
||||
case PREF_STATES:
|
||||
case PREF_OUTTYPE:
|
||||
@@ -1238,6 +1239,8 @@ _get_key(preference_t pref)
|
||||
return "tls.show";
|
||||
case PREF_LASTACTIVITY:
|
||||
return "lastactivity";
|
||||
case PREF_CONSOLE_MUC:
|
||||
return "console.muc";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
@@ -1324,6 +1327,8 @@ _get_default_string(preference_t pref)
|
||||
return "%d/%m/%y %H:%M:%S";
|
||||
case PREF_PGP_LOG:
|
||||
return "redact";
|
||||
case PREF_CONSOLE_MUC:
|
||||
return "all";
|
||||
default:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -123,6 +123,7 @@ typedef enum {
|
||||
PREF_TLS_CERTPATH,
|
||||
PREF_TLS_SHOW,
|
||||
PREF_LASTACTIVITY,
|
||||
PREF_CONSOLE_MUC,
|
||||
} preference_t;
|
||||
|
||||
typedef struct prof_alias_t {
|
||||
|
||||
Reference in New Issue
Block a user