diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-12-19 18:53:22 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-12-19 18:53:22 +0100 |
commit | 0af54d8a72c0c218e5fa847e61a5c98589662b79 (patch) | |
tree | b6ebf24c8fcab9a8cabbdb307f682ecd632ac6e1 /src/ui | |
parent | c302af99b757257d07ebebc97cd2de0a516754e2 (diff) | |
download | profani-tty-0af54d8a72c0c218e5fa847e61a5c98589662b79.tar.gz |
Add /roster color command
`/roster color on|off` to enable or disable XEP-0392 also for the roster. Regards https://github.com/profanity-im/profanity/issues/1191
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 28381ba9..6beb3025 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1989,6 +1989,12 @@ cons_color_setting(void) } prefs_free_string(color_pref); + + if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) { + cons_show("Consistent color generation in roster (/roster) : ON"); + } else { + cons_show("Consistent color generation in roster (/roster) : OFF"); + } } void |