mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-21 09:26:21 +00:00
Added /time setting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@ typedef enum {
|
||||
PREF_MUC_PRIVILEGES,
|
||||
PREF_PRESENCE,
|
||||
PREF_WRAP,
|
||||
PREF_TIME,
|
||||
PREF_STATUSES,
|
||||
PREF_STATUSES_CONSOLE,
|
||||
PREF_STATUSES_CHAT,
|
||||
|
||||
Reference in New Issue
Block a user