Added /roster resource join

This commit is contained in:
James Booth
2015-11-22 16:37:05 +00:00
parent 0a0226186a
commit 0f22179eef
5 changed files with 79 additions and 17 deletions

View File

@@ -767,6 +767,7 @@ _get_group(preference_t pref)
case PREF_ROSTER_COUNT:
case PREF_ROSTER_PRIORITY:
case PREF_ROSTER_WRAP:
case PREF_ROSTER_RESOURCE_JOIN:
case PREF_RESOURCE_TITLE:
case PREF_RESOURCE_MESSAGE:
case PREF_ENC_WARN:
@@ -952,6 +953,8 @@ _get_key(preference_t pref)
return "roster.priority";
case PREF_ROSTER_WRAP:
return "roster.wrap";
case PREF_ROSTER_RESOURCE_JOIN:
return "roster.resource.join";
case PREF_RESOURCE_TITLE:
return "resource.title";
case PREF_RESOURCE_MESSAGE:
@@ -1005,6 +1008,7 @@ _get_default_boolean(preference_t pref)
case PREF_ROSTER_EMPTY:
case PREF_ROSTER_COUNT:
case PREF_ROSTER_PRIORITY:
case PREF_ROSTER_RESOURCE_JOIN:
case PREF_TLS_SHOW:
case PREF_LASTACTIVITY:
return TRUE;

View File

@@ -72,6 +72,7 @@ typedef enum {
PREF_ROSTER_COUNT,
PREF_ROSTER_PRIORITY,
PREF_ROSTER_WRAP,
PREF_ROSTER_RESOURCE_JOIN,
PREF_MUC_PRIVILEGES,
PREF_PRESENCE,
PREF_WRAP,