Add /occupants color command
`/occupants color on|off` to enable or disable XEP-0392 also for the MUC occupants. Regards https://github.com/profanity-im/profanity/issues/1191
This commit is contained in:
@@ -1991,9 +1991,15 @@ 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");
|
||||
cons_show("Consistent color generation in roster (/roster) : ON");
|
||||
} else {
|
||||
cons_show("Consistent color generation in roster (/roster) : OFF");
|
||||
cons_show("Consistent color generation in roster (/roster) : OFF");
|
||||
}
|
||||
|
||||
if (prefs_get_boolean(PREF_OCCUPANTS_COLOR_NICK)) {
|
||||
cons_show("Consistent color generation for occupants (/occupants) : ON");
|
||||
} else {
|
||||
cons_show("Consistent color generation for occupants (/occupants) : OFF");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user