mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 18:26:21 +00:00
Added /roster show|hide unsubscribed
This commit is contained in:
@@ -1143,6 +1143,7 @@ _get_group(preference_t pref)
|
||||
case PREF_ROSTER_WRAP:
|
||||
case PREF_ROSTER_RESOURCE_JOIN:
|
||||
case PREF_ROSTER_CONTACTS:
|
||||
case PREF_ROSTER_UNSUBSCRIBED:
|
||||
case PREF_ROSTER_ROOMS:
|
||||
case PREF_ROSTER_ROOMS_POS:
|
||||
case PREF_ROSTER_ROOMS_BY:
|
||||
@@ -1351,6 +1352,8 @@ _get_key(preference_t pref)
|
||||
return "roster.resource.join";
|
||||
case PREF_ROSTER_CONTACTS:
|
||||
return "roster.contacts";
|
||||
case PREF_ROSTER_UNSUBSCRIBED:
|
||||
return "roster.unsubscribed";
|
||||
case PREF_ROSTER_ROOMS:
|
||||
return "roster.rooms";
|
||||
case PREF_ROSTER_ROOMS_POS:
|
||||
@@ -1425,6 +1428,7 @@ _get_default_boolean(preference_t pref)
|
||||
case PREF_ROSTER_PRIORITY:
|
||||
case PREF_ROSTER_RESOURCE_JOIN:
|
||||
case PREF_ROSTER_CONTACTS:
|
||||
case PREF_ROSTER_UNSUBSCRIBED:
|
||||
case PREF_ROSTER_ROOMS:
|
||||
case PREF_TLS_SHOW:
|
||||
case PREF_LASTACTIVITY:
|
||||
|
||||
@@ -76,6 +76,7 @@ typedef enum {
|
||||
PREF_ROSTER_WRAP,
|
||||
PREF_ROSTER_RESOURCE_JOIN,
|
||||
PREF_ROSTER_CONTACTS,
|
||||
PREF_ROSTER_UNSUBSCRIBED,
|
||||
PREF_ROSTER_ROOMS,
|
||||
PREF_ROSTER_ROOMS_POS,
|
||||
PREF_ROSTER_ROOMS_BY,
|
||||
|
||||
@@ -391,6 +391,7 @@ _load_preferences(void)
|
||||
_set_boolean_preference("roster.count.zero", PREF_ROSTER_COUNT_ZERO);
|
||||
_set_boolean_preference("roster.priority", PREF_ROSTER_PRIORITY);
|
||||
_set_boolean_preference("roster.contacts", PREF_ROSTER_CONTACTS);
|
||||
_set_boolean_preference("roster.unsubscribed", PREF_ROSTER_UNSUBSCRIBED);
|
||||
_set_boolean_preference("roster.rooms", PREF_ROSTER_ROOMS);
|
||||
_set_boolean_preference("privileges", PREF_MUC_PRIVILEGES);
|
||||
_set_boolean_preference("presence", PREF_PRESENCE);
|
||||
|
||||
Reference in New Issue
Block a user