diff pidgin/gtkblist.c @ 20050:20c336838629

Do not boldify the chat in the buddylist for unread system messages.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 15 Sep 2007 08:03:47 +0000
parents 7af1af2b7ad3
children d97c43dbc1ca
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Sat Sep 15 06:26:35 2007 +0000
+++ b/pidgin/gtkblist.c	Sat Sep 15 08:03:47 2007 +0000
@@ -3909,7 +3909,8 @@
 		PurpleConversation *conv, PurpleMessageFlags flag, PurpleBlistNode *node)
 {
 	PidginBlistNode *ui = node->ui_data;
-	if (ui->conv.conv != conv || PIDGIN_CONVERSATION(conv))
+	if (ui->conv.conv != conv || PIDGIN_CONVERSATION(conv) ||
+			!(flag & (PURPLE_MESSAGE_SEND | PURPLE_MESSAGE_RECV)))
 		return;
 	ui->conv.flags |= PIDGIN_BLIST_NODE_HAS_PENDING_MESSAGE;
 	ui->conv.last_message = time(NULL);    /* XXX: for lack of better data */