From 6b7d12e4106e687053e80cc227527c222af33227 Mon Sep 17 00:00:00 2001 From: 2547techno <109011672+2547techno@users.noreply.github.com> Date: Fri, 4 Aug 2023 06:28:52 -0400 Subject: [PATCH] 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 Co-authored-by: Mm2PL --- CHANGELOG.md | 1 + src/providers/twitch/TwitchMessageBuilder.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f8c817dc..7697a84c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/providers/twitch/TwitchMessageBuilder.cpp b/src/providers/twitch/TwitchMessageBuilder.cpp index 9d8dce891..69bb5ed69 100644 --- a/src/providers/twitch/TwitchMessageBuilder.cpp +++ b/src/providers/twitch/TwitchMessageBuilder.cpp @@ -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,