fix: searching redemptions that require user input (#5177)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
KleberPF 2024-02-17 08:49:06 -03:00 committed by GitHub
parent 3cdb7bf4f6
commit 4b48774cbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -46,6 +46,7 @@
- Bugfix: Fixed too much text being copied when copying chat messages. (#4812, #4830, #4839)
- Bugfix: Fixed an issue where the setting `Only search for emote autocompletion at the start of emote names` wouldn't disable if it was enabled when the client started. (#4855)
- Bugfix: Fixed empty page being added when showing out of bounds dialog. (#4849)
- Bugfix: Fixed an issue preventing searching a redemption by it's title when the redemption contained text input. (#5117)
- Bugfix: Fixed issue on Windows preventing the title bar from being dragged in the top left corner. (#4873)
- Bugfix: Fixed an issue where reply context didn't render correctly if an emoji was touching text. (#4875, #4977)
- Bugfix: Fixed the input completion popup from disappearing when clicking on it on Windows and macOS. (#4876)

View file

@ -564,9 +564,10 @@ MessagePtr TwitchMessageBuilder::build()
this->stylizeUsername(this->userName, this->message());
this->message().messageText = this->originalMessage_;
this->message().searchText = stylizedUsername + " " +
this->message().localizedName + " " +
this->userName + ": " + this->originalMessage_;
this->message().searchText =
stylizedUsername + " " + this->message().localizedName + " " +
this->userName + ": " + this->originalMessage_ + " " +
this->message().searchText;
// highlights
this->parseHighlights();