mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use colour prefs for offline message warning
This commit is contained in:
parent
9f08744ec0
commit
c9afe7b346
@ -915,6 +915,10 @@ _show_status_string(WINDOW *win, const char * const from,
|
||||
wattron(win, COLOUR_DND);
|
||||
} else if (strcmp(show, "xa") == 0) {
|
||||
wattron(win, COLOUR_XA);
|
||||
} else if (strcmp(show, "online") == 0) {
|
||||
wattron(win, COLOUR_ONLINE);
|
||||
} else {
|
||||
wattron(win, COLOUR_OFFLINE);
|
||||
}
|
||||
} else if (strcmp(default_show, "online") == 0) {
|
||||
wattron(win, COLOUR_ONLINE);
|
||||
@ -943,6 +947,10 @@ _show_status_string(WINDOW *win, const char * const from,
|
||||
wattroff(win, COLOUR_DND);
|
||||
} else if (strcmp(show, "xa") == 0) {
|
||||
wattroff(win, COLOUR_XA);
|
||||
} else if (strcmp(show, "online") == 0) {
|
||||
wattroff(win, COLOUR_ONLINE);
|
||||
} else {
|
||||
wattroff(win, COLOUR_OFFLINE);
|
||||
}
|
||||
} else if (strcmp(default_show, "online") == 0) {
|
||||
wattroff(win, COLOUR_ONLINE);
|
||||
|
Loading…
Reference in New Issue
Block a user