X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=c25fda61c18c2d2c3afc294ab50ce7e679088955;hp=e984a8b5aad19b9ec615d7bed33ba78236dfb7db;hb=76ad6e4e368f8444adc4252f5abe9adfb1aed273;hpb=91aec4cd6a4a59dc42e18e31d69691f4499b8520 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;