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

@@ -1711,6 +1711,7 @@ _get_group(preference_t pref)
case PREF_CONSOLE_PRIVATE:
case PREF_CONSOLE_CHAT:
case PREF_COLOR_NICK:
case PREF_ROSTER_COLOR_NICK:
case PREF_STATUSBAR_SHOW_NAME:
case PREF_STATUSBAR_SHOW_NUMBER:
case PREF_STATUSBAR_SELF:
@@ -1972,6 +1973,8 @@ _get_key(preference_t pref)
return "console.chat";
case PREF_COLOR_NICK:
return "color.nick";
case PREF_ROSTER_COLOR_NICK:
return "color.roster.nick";
case PREF_BOOKMARK_INVITE:
return "bookmark.invite";
case PREF_PLUGINS_SOURCEPATH: