about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/windows.c8
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);
href='#n97'>97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123