diff options
author | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-09-15 08:03:47 +0000 |
---|---|---|
committer | Sadrul Habib Chowdhury <sadrul@pidgin.im> | 2007-09-15 08:03:47 +0000 |
commit | 43e22ae04c4a37e1ac899e04a1e55200c71ae0a7 (patch) | |
tree | 12e52dda79cb5741a9c1613c97e967e5a7b58311 | |
parent | bbe3efc115fadcad1148be13b261710fa585d721 (diff) | |
download | pidgin-43e22ae04c4a37e1ac899e04a1e55200c71ae0a7.tar.gz |
Do not boldify the chat in the buddylist for unread system messages.
-rw-r--r-- | pidgin/gtkblist.c | 3 | ||||
-rw-r--r-- | pidgin/gtkconv.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c index ed5c432c3c..a9ae8a4396 100644 --- a/pidgin/gtkblist.c +++ b/pidgin/gtkblist.c @@ -3909,7 +3909,8 @@ written_msg_update_ui_cb(PurpleAccount *account, const char *who, const char *me 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 */ diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c index 9979564cb4..4f1c12f86d 100644 --- a/pidgin/gtkconv.c +++ b/pidgin/gtkconv.c @@ -5135,8 +5135,6 @@ received_im_msg_cb(PurpleAccount *account, char *sender, char *message, PurpleConversation *conv, PurpleMessageFlags flags) { PurpleConversationUiOps *ui_ops = pidgin_conversations_get_conv_ui_ops(); - if (conv != NULL) - return; /* create hidden conv if hide_new pref is always */ /* or if hide_new pref is away and account is away */ |