]> git.0d.be Git - empathy.git/commitdiff
Don't highlight messages in 1-1 chats.
authorWill Thompson <will@willthompson.co.uk>
Wed, 18 Jan 2012 16:40:16 +0000 (16:40 +0000)
committerWill Thompson <will@willthompson.co.uk>
Wed, 18 Jan 2012 17:55:08 +0000 (17:55 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=576912

libempathy-gtk/empathy-chat.c

index ae6c0d934bda117c15a0a09333d4345c32aa96e8..b1fb93d0200510cee51b5217788a150424e3c06c 100644 (file)
@@ -1420,6 +1420,10 @@ chat_should_highlight (EmpathyChat *chat,
 
        g_return_val_if_fail (EMPATHY_IS_MESSAGE (message), FALSE);
 
+       if (!empathy_chat_is_room (chat)) {
+               return FALSE;
+       }
+
        if (!empathy_message_is_incoming (message)) {
                return FALSE;
        }