mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 19:26:21 +00:00
Added option to show resource priority in roster
This commit is contained in:
@@ -603,6 +603,7 @@ _get_group(preference_t pref)
|
||||
case PREF_ROSTER_BY:
|
||||
case PREF_ROSTER_ORDER:
|
||||
case PREF_ROSTER_COUNT:
|
||||
case PREF_ROSTER_PRIORITY:
|
||||
case PREF_RESOURCE_TITLE:
|
||||
case PREF_RESOURCE_MESSAGE:
|
||||
case PREF_ENC_WARN:
|
||||
@@ -784,6 +785,8 @@ _get_key(preference_t pref)
|
||||
return "roster.order";
|
||||
case PREF_ROSTER_COUNT:
|
||||
return "roster.count";
|
||||
case PREF_ROSTER_PRIORITY:
|
||||
return "roster.priority";
|
||||
case PREF_RESOURCE_TITLE:
|
||||
return "resource.title";
|
||||
case PREF_RESOURCE_MESSAGE:
|
||||
@@ -839,6 +842,7 @@ _get_default_boolean(preference_t pref)
|
||||
case PREF_ROSTER_STATUS:
|
||||
case PREF_ROSTER_EMPTY:
|
||||
case PREF_ROSTER_COUNT:
|
||||
case PREF_ROSTER_PRIORITY:
|
||||
case PREF_TLS_SHOW:
|
||||
case PREF_LASTACTIVITY:
|
||||
return TRUE;
|
||||
|
||||
@@ -70,6 +70,7 @@ typedef enum {
|
||||
PREF_ROSTER_BY,
|
||||
PREF_ROSTER_ORDER,
|
||||
PREF_ROSTER_COUNT,
|
||||
PREF_ROSTER_PRIORITY,
|
||||
PREF_MUC_PRIVILEGES,
|
||||
PREF_PRESENCE,
|
||||
PREF_WRAP,
|
||||
|
||||
Reference in New Issue
Block a user