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:
|
||||
|
||||
Reference in New Issue
Block a user