Skip to content

Commit

Permalink
- Adding space trimming of Twitch Channel Points reward input
Browse files Browse the repository at this point in the history
  • Loading branch information
SaviorXTanren committed Nov 1, 2020
1 parent 9db95a9 commit ba29273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MixItUp.Base/Services/Twitch/TwitchEventService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ private async void PubSub_OnChannelPointsRedeemed(object sender, PubSubChannelPo
specialIdentifiers["rewardcost"] = redemption.reward.cost.ToString();
if (!string.IsNullOrEmpty(redemption.user_input))
{
specialIdentifiers["message"] = redemption.user_input;
specialIdentifiers["message"] = redemption.user_input.Trim();
arguments = new List<string>(redemption.user_input.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries));
}

Expand Down

0 comments on commit ba29273

Please sign in to comment.