diff options
author | James Booth <boothj5@gmail.com> | 2015-11-15 21:33:48 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-15 21:33:48 +0000 |
commit | badbc3003f1a6e2d6eecb166a36fef8bc66f9b17 (patch) | |
tree | 66cd345cad6c6cab51d186836693a2bc98f866f4 /src/config | |
parent | c5ac0f1319c38d3f2a212da86c6b6ba233d6fd84 (diff) | |
download | profani-tty-badbc3003f1a6e2d6eecb166a36fef8bc66f9b17.tar.gz |
Show presence in roster WIP
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 8 | ||||
-rw-r--r-- | src/config/preferences.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index c7196051..b8f6d607 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -597,6 +597,8 @@ _get_group(preference_t pref) case PREF_ROSTER: case PREF_ROSTER_OFFLINE: case PREF_ROSTER_RESOURCE: + case PREF_ROSTER_PRESENCE: + case PREF_ROSTER_STATUS: case PREF_ROSTER_EMPTY: case PREF_ROSTER_BY: case PREF_RESOURCE_TITLE: @@ -768,6 +770,10 @@ _get_key(preference_t pref) return "roster.offline"; case PREF_ROSTER_RESOURCE: return "roster.resource"; + case PREF_ROSTER_PRESENCE: + return "roster.presence"; + case PREF_ROSTER_STATUS: + return "roster.status"; case PREF_ROSTER_EMPTY: return "roster.empty"; case PREF_ROSTER_BY: @@ -823,6 +829,8 @@ _get_default_boolean(preference_t pref) case PREF_ROSTER: case PREF_ROSTER_OFFLINE: case PREF_ROSTER_RESOURCE: + case PREF_ROSTER_PRESENCE: + case PREF_ROSTER_STATUS: case PREF_ROSTER_EMPTY: case PREF_TLS_SHOW: case PREF_LASTACTIVITY: diff --git a/src/config/preferences.h b/src/config/preferences.h index 9aa6ff72..ff830cce 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -64,6 +64,8 @@ typedef enum { PREF_ROSTER_SIZE, PREF_ROSTER_OFFLINE, PREF_ROSTER_RESOURCE, + PREF_ROSTER_PRESENCE, + PREF_ROSTER_STATUS, PREF_ROSTER_EMPTY, PREF_ROSTER_BY, PREF_MUC_PRIVILEGES, |