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
This commit is contained in:
Michael Vetter
2019-12-19 18:53:22 +01:00
parent c302af99b7
commit 0af54d8a72
5 changed files with 22 additions and 0 deletions

View File

@@ -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