aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorWill Thompson <will@willthompson.co.uk>2012-01-19 00:40:16 +0800
committerWill Thompson <will@willthompson.co.uk>2012-01-19 01:55:08 +0800
commit6d3a71637df970d2cf52d653399b66a213bae502 (patch)
treeb592b6ae301f0e89acac73c6132ad319cfcfbbd2 /libempathy-gtk
parent7e3040b5be5fd1e4793ba14c89a380b8e526b499 (diff)
downloadgsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar.gz
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar.bz2
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar.lz
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar.xz
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.tar.zst
gsoc2013-empathy-6d3a71637df970d2cf52d653399b66a213bae502.zip
Don't highlight messages in 1-1 chats.
https://bugzilla.gnome.org/show_bug.cgi?id=576912
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index ae6c0d934..b1fb93d02 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -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;
}