diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c index c2c07015..effd7e6a 100644 --- a/src/windows.c +++ b/src/windows.c @@ -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); |