Consider nicknames when searching for messages (#4663)
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
This commit is contained in:
@@ -294,8 +294,12 @@ MessagePtr TwitchMessageBuilder::build()
|
||||
|
||||
this->addWords(splits, twitchEmotes);
|
||||
|
||||
QString stylizedUsername =
|
||||
this->stylizeUsername(this->userName, this->message());
|
||||
|
||||
this->message().messageText = this->originalMessage_;
|
||||
this->message().searchText = this->message().localizedName + " " +
|
||||
this->message().searchText = stylizedUsername + " " +
|
||||
this->message().localizedName + " " +
|
||||
this->userName + ": " + this->originalMessage_;
|
||||
|
||||
// highlights
|
||||
|
||||
Reference in New Issue
Block a user