Added /roster show|hide contacts

This commit is contained in:
James Booth
2016-01-20 01:48:41 +00:00
parent 10507b687b
commit 5bccee93cc
11 changed files with 96 additions and 61 deletions

View File

@@ -1047,6 +1047,7 @@ _get_group(preference_t pref)
case PREF_ROSTER_PRIORITY:
case PREF_ROSTER_WRAP:
case PREF_ROSTER_RESOURCE_JOIN:
case PREF_ROSTER_CONTACTS:
case PREF_ROSTER_ROOMS:
case PREF_ROSTER_ROOMS_POS:
case PREF_ROSTER_ROOMS_ORDER:
@@ -1247,6 +1248,8 @@ _get_key(preference_t pref)
return "roster.wrap";
case PREF_ROSTER_RESOURCE_JOIN:
return "roster.resource.join";
case PREF_ROSTER_CONTACTS:
return "roster.contacts";
case PREF_ROSTER_ROOMS:
return "roster.rooms";
case PREF_ROSTER_ROOMS_POS:
@@ -1312,6 +1315,7 @@ _get_default_boolean(preference_t pref)
case PREF_ROSTER_COUNT:
case PREF_ROSTER_PRIORITY:
case PREF_ROSTER_RESOURCE_JOIN:
case PREF_ROSTER_CONTACTS:
case PREF_ROSTER_ROOMS:
case PREF_TLS_SHOW:
case PREF_LASTACTIVITY: