diff options
author | James Booth <boothj5@gmail.com> | 2014-11-11 00:00:10 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-11 00:00:10 +0000 |
commit | eace543da5620ca4c1d94d74ddd5342be4c66f47 (patch) | |
tree | f1bdbe539ce9606554f8a648f358f41c75e45522 /src/ui/console.c | |
parent | f715c0580c904caababf980e0fef72ae28944424 (diff) | |
download | profani-tty-eace543da5620ca4c1d94d74ddd5342be4c66f47.tar.gz |
Added /roster show|hide resource
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 831b1b7d..d4f6bcc9 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -948,6 +948,16 @@ _cons_roster_setting(void) cons_show("Roster (/roster) : show"); else cons_show("Roster (/roster) : hide"); + + if (prefs_get_boolean(PREF_ROSTER_OFFLINE)) + cons_show("Roster offline (/roster) : show"); + else + cons_show("Roster offline (/roster) : hide"); + + if (prefs_get_boolean(PREF_ROSTER_RESOURCE)) + cons_show("Roster resource (/roster) : show"); + else + cons_show("Roster resource (/roster) : hide"); } static void |