Added /time setting

This commit is contained in:
James Booth
2014-11-16 00:40:54 +00:00
parent 1479a5e134
commit 40dc8e2c49
7 changed files with 58 additions and 2 deletions

View File

@@ -491,6 +491,7 @@ _get_group(preference_t pref)
case PREF_MUC_PRIVILEGES:
case PREF_PRESENCE:
case PREF_WRAP:
case PREF_TIME:
case PREF_ROSTER:
case PREF_ROSTER_OFFLINE:
case PREF_ROSTER_RESOURCE:
@@ -615,6 +616,8 @@ _get_key(preference_t pref)
return "presence";
case PREF_WRAP:
return "wrap";
case PREF_TIME:
return "time";
case PREF_ROSTER:
return "roster";
case PREF_ROSTER_OFFLINE:
@@ -670,6 +673,8 @@ _get_default_string(preference_t pref)
return "all";
case PREF_ROSTER_BY:
return "none";
case PREF_TIME:
return "seconds";
default:
return NULL;
}

View File

@@ -67,6 +67,7 @@ typedef enum {
PREF_MUC_PRIVILEGES,
PREF_PRESENCE,
PREF_WRAP,
PREF_TIME,
PREF_STATUSES,
PREF_STATUSES_CONSOLE,
PREF_STATUSES_CHAT,