Added console MUC message preference

This commit is contained in:
James Booth
2015-12-29 23:00:49 +00:00
parent 377a63d038
commit 8ea228480c
4 changed files with 17 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -123,6 +123,7 @@ typedef enum {
PREF_TLS_CERTPATH,
PREF_TLS_SHOW,
PREF_LASTACTIVITY,
PREF_CONSOLE_MUC,
} preference_t;
typedef struct prof_alias_t {