X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.cpp;h=353928aeaa755696d72e19be3e50c2b88f3a4acf;hb=be5b9feef292531c3b92f9f115bd5a55f436bc97;hp=2466e15d7992d0e17dbaf8461adaf1ff954cd584;hpb=7e20c659f88e26ccdfdc65f4894ed6ecf61ca8a9;p=quassel.git diff --git a/src/qtui/qtuimessageprocessor.cpp b/src/qtui/qtuimessageprocessor.cpp index 2466e15d..353928ae 100644 --- a/src/qtui/qtuimessageprocessor.cpp +++ b/src/qtui/qtuimessageprocessor.cpp @@ -115,6 +115,8 @@ void QtUiMessageProcessor::checkForHighlight(Message &msg) { const Identity *myIdentity = Client::identity(net->identity()); if(myIdentity) nickList = myIdentity->nicks(); + if(!nickList.contains(net->myNick())) + nickList.prepend(net->myNick()); } foreach(QString nickname, nickList) { QRegExp nickRegExp("\\b" + QRegExp::escape(nickname) + "(\\W|\\b|$)", // + "\\b", this does not seem to work for trailing ` -> upstream bug?