fixes #1303 now searches using search text instead of message text
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user