From 76ad6e4e368f8444adc4252f5abe9adfb1aed273 Mon Sep 17 00:00:00 2001 From: Jaak Ristioja Date: Sat, 19 Jun 2010 23:06:29 +0300 Subject: [PATCH] Fixed highlighting of buffers caused by ignored messages. --- src/client/networkmodel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index e984a8b5..c25fda61 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -26,6 +26,7 @@ #include "buffermodel.h" #include "buffersettings.h" #include "client.h" +#include "clientignorelistmanager.h" #include "clientsettings.h" #include "ircchannel.h" #include "network.h" @@ -250,6 +251,10 @@ void BufferItem::updateActivityLevel(const Message &msg) { if(msg.flags() & Message::Self) // don't update activity for our own messages return; + if (Client::ignoreListManager() + && Client::ignoreListManager()->match(msg, qobject_cast(parent())->networkName())) + return; + if(msg.msgId() <= lastSeenMsgId()) return; -- 2.20.1