make it possible to search localized names

This commit is contained in:
ckath 2019-05-23 22:30:59 +02:00 committed by pajlada
parent b872f83c9e
commit 2e9b0cad44

View file

@ -440,7 +440,9 @@ MessagePtr TwitchMessageBuilder::build()
this->addWords(splits, twitchEmotes);
this->message().messageText = this->originalMessage_;
this->message().searchText = this->userName + ": " + this->originalMessage_;
this->message().searchText = this->userName +
this->message().localizedName + ": " +
this->originalMessage_;
return this->release();
}