Show channel point redemptions without messages in usercard. (#4557)

* set login name for channel point reward message

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
This commit is contained in:
2547techno 2023-08-04 06:28:52 -04:00 committed by GitHub
parent 557e8d0640
commit 6b7d12e410
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@
- Minor: 7TV badges now automatically update upon changing. (#4512)
- Minor: Stream status requests are now batched. (#4713)
- Minor: Added `/c2-theme-autoreload` command to automatically reload a custom theme. This is useful for when you're developing your own theme. (#4718)
- Minor: Show channel point redemptions without messages in usercard. (#4557)
- Bugfix: Increased amount of blocked users loaded from 100 to 1,000. (#4721)
- Bugfix: Fixed generation of crashdumps by the browser-extension process when the browser was closed. (#4667)
- Bugfix: Fix spacing issue with mentions inside RTL text. (#4677)

View file

@ -1490,6 +1490,7 @@ void TwitchMessageBuilder::appendChannelPointRewardMessage(
textList.append({redeemed, reward.title, QString::number(reward.cost)});
builder->message().messageText = textList.join(" ");
builder->message().searchText = textList.join(" ");
builder->message().loginName = reward.user.login;
}
void TwitchMessageBuilder::liveMessage(const QString &channelName,