Added roster count option

This commit is contained in:
James Booth
2015-11-18 02:02:49 +00:00
parent edbd2d5843
commit 4505102fa8
6 changed files with 50 additions and 5 deletions

View File

@@ -602,6 +602,7 @@ _get_group(preference_t pref)
case PREF_ROSTER_EMPTY:
case PREF_ROSTER_BY:
case PREF_ROSTER_ORDER:
case PREF_ROSTER_COUNT:
case PREF_RESOURCE_TITLE:
case PREF_RESOURCE_MESSAGE:
case PREF_ENC_WARN:
@@ -781,6 +782,8 @@ _get_key(preference_t pref)
return "roster.by";
case PREF_ROSTER_ORDER:
return "roster.order";
case PREF_ROSTER_COUNT:
return "roster.count";
case PREF_RESOURCE_TITLE:
return "resource.title";
case PREF_RESOURCE_MESSAGE:
@@ -835,6 +838,7 @@ _get_default_boolean(preference_t pref)
case PREF_ROSTER_PRESENCE:
case PREF_ROSTER_STATUS:
case PREF_ROSTER_EMPTY:
case PREF_ROSTER_COUNT:
case PREF_TLS_SHOW:
case PREF_LASTACTIVITY:
return TRUE;

View File

@@ -69,6 +69,7 @@ typedef enum {
PREF_ROSTER_EMPTY,
PREF_ROSTER_BY,
PREF_ROSTER_ORDER,
PREF_ROSTER_COUNT,
PREF_MUC_PRIVILEGES,
PREF_PRESENCE,
PREF_WRAP,