X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fnetworkmodel.cpp;h=d713d3306dc1a35678316a1e155e89f26657d5e4;hb=3ade6e11e29338aa74fa5daf32456264011601e1;hp=e984a8b5aad19b9ec615d7bed33ba78236dfb7db;hpb=048fea60b94321f0a7381bde12947e967434670b;p=quassel.git diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index e984a8b5..d713d330 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -21,11 +21,13 @@ #include "networkmodel.h" #include +#include #include // for Qt::escape() #include "buffermodel.h" #include "buffersettings.h" #include "client.h" +#include "clientignorelistmanager.h" #include "clientsettings.h" #include "ircchannel.h" #include "network.h" @@ -250,6 +252,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;