mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixes #1303 now searches using search text instead of message text
This commit is contained in:
parent
358e3a5cfa
commit
04f8875c4d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue