diff options
author | James Booth <boothj5@gmail.com> | 2014-11-07 21:05:51 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-11-07 21:05:51 +0000 |
commit | 571db231509577fe1e528595c3aae61e2f8ccf3f (patch) | |
tree | fa86aada91d1879fefaf086c79d14b43851f4920 /src/ui | |
parent | 0bde9a6121950cfccccbf39398911483fd65899a (diff) | |
download | profani-tty-571db231509577fe1e528595c3aae61e2f8ccf3f.tar.gz |
Use message theme settings in chat rooms
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 6 |
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 |