projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
91aec4c
)
Fixed highlighting of buffers caused by ignored messages.
author
Jaak Ristioja
<ristioja@gmail.com>
Sat, 19 Jun 2010 20:06:29 +0000
(23:06 +0300)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Wed, 11 Aug 2010 14:46:50 +0000
(16:46 +0200)
src/client/networkmodel.cpp
patch
|
blob
|
history
diff --git
a/src/client/networkmodel.cpp
b/src/client/networkmodel.cpp
index
e984a8b
..
c25fda6
100644
(file)
--- 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<NetworkItem *>(parent())->networkName()))
+ return;
+
if(msg.msgId() <= lastSeenMsgId())
return;