about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-11-07 21:05:51 +0000
committerJames Booth <boothj5@gmail.com>2014-11-07 21:05:51 +0000
commit571db231509577fe1e528595c3aae61e2f8ccf3f (patch)
treefa86aada91d1879fefaf086c79d14b43851f4920 /src/ui
parent0bde9a6121950cfccccbf39398911483fd65899a (diff)
downloadprofani-tty-571db231509577fe1e528595c3aae61e2f8ccf3f.tar.gz
Use message theme settings in chat rooms
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 8e37c4e2..e959e94e 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -1739,14 +1739,14 @@ _ui_room_message(const char * const room_jid, const char * const nick,
         int num = wins_get_num(window);
         char *my_nick = muc_nick(room_jid);
 
-        if (strcmp(nick, my_nick) != 0) {
+        if (g_strcmp0(nick, my_nick) != 0) {
             if (g_strrstr(message, my_nick) != NULL) {
                 win_save_print(window, '-', NULL, NO_ME, COLOUR_ROOMMENTION, nick, message);
             } else {
-                win_save_print(window, '-', NULL, NO_ME, 0, nick, message);
+                win_save_print(window, '-', NULL, NO_ME, COLOUR_TEXT_THEM, nick, message);
             }
         } else {
-            win_save_print(window, '-', NULL, 0, 0, nick, message);
+            win_save_print(window, '-', NULL, 0, COLOUR_TEXT_ME, nick, message);
         }
 
         // currently in groupchat window