Skip to content

Commit

Permalink
Correct variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
AYMENJD authored and levlam committed Sep 9, 2024
1 parent a33553e commit 3b522b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td/telegram/MessageReaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ void MessageReactions::send_paid_message_reaction(Td *td, MessageFullId message_
Promise<Unit> &&promise) {
CHECK(has_pending_paid_reactions());
auto star_count = pending_paid_reactions_;
auto use_defualt_is_anonymous = pending_use_default_is_anonymous_;
auto use_default_is_anonymous = pending_use_default_is_anonymous_;
auto is_anonymous = pending_is_anonymous_;
top_reactors_ = apply_reactor_pending_paid_reactions(td->dialog_manager_->get_my_dialog_id());
if (reactions_.empty() || !reactions_[0].reaction_type_.is_paid_reaction()) {
Expand All @@ -1140,7 +1140,7 @@ void MessageReactions::send_paid_message_reaction(Td *td, MessageFullId message_
pending_is_anonymous_ = false;

td->create_handler<SendPaidReactionQuery>(std::move(promise))
->send(message_full_id, star_count, use_defualt_is_anonymous, is_anonymous, random_id);
->send(message_full_id, star_count, use_default_is_anonymous, is_anonymous, random_id);
}

bool MessageReactions::toggle_paid_message_reaction_is_anonymous(Td *td, MessageFullId message_full_id,
Expand Down

0 comments on commit 3b522b4

Please sign in to comment.