Skip to content

Commit 3b522b4

Browse files
AYMENJDlevlam
authored andcommitted
Correct variable name.
1 parent a33553e commit 3b522b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

td/telegram/MessageReaction.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ void MessageReactions::send_paid_message_reaction(Td *td, MessageFullId message_
11261126
Promise<Unit> &&promise) {
11271127
CHECK(has_pending_paid_reactions());
11281128
auto star_count = pending_paid_reactions_;
1129-
auto use_defualt_is_anonymous = pending_use_default_is_anonymous_;
1129+
auto use_default_is_anonymous = pending_use_default_is_anonymous_;
11301130
auto is_anonymous = pending_is_anonymous_;
11311131
top_reactors_ = apply_reactor_pending_paid_reactions(td->dialog_manager_->get_my_dialog_id());
11321132
if (reactions_.empty() || !reactions_[0].reaction_type_.is_paid_reaction()) {
@@ -1140,7 +1140,7 @@ void MessageReactions::send_paid_message_reaction(Td *td, MessageFullId message_
11401140
pending_is_anonymous_ = false;
11411141

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

11461146
bool MessageReactions::toggle_paid_message_reaction_is_anonymous(Td *td, MessageFullId message_full_id,

0 commit comments

Comments
 (0)