X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fqtuimessageprocessor.cpp;h=353928aeaa755696d72e19be3e50c2b88f3a4acf;hp=2466e15d7992d0e17dbaf8461adaf1ff954cd584;hb=020c860035180e468705b836a21f7aaa70ba0160;hpb=e1997b582c3ad73c4ff02f2b0167defb864db0a6 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?