Skip to content

Commit

Permalink
refactor: rename rewardId to rewardID
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy committed Nov 6, 2023
1 parent 93b01d8 commit 47ee4ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/twitch/TwitchChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ void TwitchChannel::addChannelPointReward(const ChannelPointReward &reward)
auto it = std::remove_if(
this->waitingRedemptions.begin(), this->waitingRedemptions.end(),
[&](const QueuedRedemption &msg) {
if (reward.id == msg.rewardId)
if (reward.id == msg.rewardID)
{
IrcMessageHandler::instance().addMessage(
msg.message, "#" + channelName, msg.originalContent,
Expand Down
2 changes: 1 addition & 1 deletion src/providers/twitch/TwitchChannel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class TwitchChannel final : public Channel, public ChannelChatters
};

struct QueuedRedemption {
QString rewardId;
QString rewardID;
QString originalContent;
QPointer<Communi::IrcMessage> message;
};
Expand Down

0 comments on commit 47ee4ba

Please sign in to comment.