fixes #1303 now searches using search text instead of message text

This commit is contained in:
fourtf 2019-09-15 18:29:50 +02:00
parent 358e3a5cfa
commit 04f8875c4d

View file

@ -9,7 +9,7 @@ SubstringPredicate::SubstringPredicate(const QString &search)
bool SubstringPredicate::appliesTo(const Message &message)
{
return message.messageText.contains(this->search_, Qt::CaseInsensitive);
return message.searchText.contains(this->search_, Qt::CaseInsensitive);
}
} // namespace chatterino