From a45c66ff2974e6599ac97884c60da9e29a402ddf Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Tue, 5 Feb 2008 15:23:15 +0000 Subject: [PATCH 1/1] made highlight trigger only on normal messages, notices and actions --- src/client/networkmodel.cpp | 2 +- version.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/networkmodel.cpp b/src/client/networkmodel.cpp index 7148046d..4f7935cf 100644 --- a/src/client/networkmodel.cpp +++ b/src/client/networkmodel.cpp @@ -756,7 +756,7 @@ void NetworkModel::updateBufferActivity(const Message &msg) { level |= BufferItem::NewMessage; const Network *net = Client::network(msg.bufferInfo().networkId()); - if(net && msg.text().contains(net->myNick())) + if(net && (msg.type() == Message::Plain || msg.type() == Message::Notice || msg.type() == Message::Action) && msg.text().contains(net->myNick())) level |= BufferItem::Highlight; bufferItem(msg.bufferInfo())->updateActivity(level); diff --git a/version.inc b/version.inc index f71334ed..ec76ab43 100644 --- a/version.inc +++ b/version.inc @@ -5,7 +5,7 @@ quasselVersion = "0.2.0-pre"; quasselDate = "2008-02-05"; - quasselBuild = 464; + quasselBuild = 465; //! Minimum client build number the core needs clientBuildNeeded = 464; -- 2.20.1