[empathy: 6/10] Don't highlight messages in 1-1 chats.
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 6/10] Don't highlight messages in 1-1 chats.
- Date: Wed, 25 Jan 2012 16:17:38 +0000 (UTC)
commit 6d3a71637df970d2cf52d653399b66a213bae502
Author: Will Thompson <will willthompson co uk>
Date: Wed Jan 18 16:40:16 2012 +0000
Don't highlight messages in 1-1 chats.
https://bugzilla.gnome.org/show_bug.cgi?id=576912
libempathy-gtk/empathy-chat.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index ae6c0d9..b1fb93d 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]