X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fmainwin.cpp;h=451bc240f52b0fc59b19764f3fe592b020feb4be;hp=36e9825a78dc5b84964f9b12a535fb4184d80b47;hb=b6e6a7392b8c6f451baa7eaad472c978e19b3055;hpb=09d19fe065125ccc6e406fa325d675387788ab3c diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 36e9825a..451bc240 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -957,8 +957,10 @@ void MainWin::messagesInserted(const QModelIndex &parent, int start, int end) { if(hasFocus && bufId == _bufferWidget->currentBuffer()) continue; - if((flags & Message::Highlight || bufType == BufferInfo::QueryBuffer) && - !Client::ignoreListManager()->match(idx.data(MessageModel::MessageRole).value(), Client::networkModel()->networkName(bufId))) { + if((flags & Message::Highlight || bufType == BufferInfo::QueryBuffer) + && !(Client::ignoreListManager() && Client::ignoreListManager()->match(idx.data(MessageModel::MessageRole).value(), + Client::networkModel()->networkName(bufId)))) + { QModelIndex senderIdx = Client::messageModel()->index(i, ChatLineModel::SenderColumn); QString sender = senderIdx.data(ChatLineModel::EditRole).toString(); QString contents = idx.data(ChatLineModel::DisplayRole).toString();