Fix MessageReactions::get_message_reactions_object,

This commit is contained in:
levlam 2024-08-07 17:41:54 +03:00
parent 7daa876d99
commit 934548dffe

View File

@ -956,7 +956,8 @@ td_api::object_ptr<td_api::messageReactions> MessageReactions::get_message_react
reactions[0]->is_chosen_ = true; reactions[0]->is_chosen_ = true;
} }
auto top_reactors = apply_reactor_pending_paid_reactions(DialogId(my_user_id)); // my_user_id == UserId()
auto top_reactors = apply_reactor_pending_paid_reactions(td->dialog_manager_->get_my_dialog_id());
reactors = reactors =
transform(top_reactors, [td](const MessageReactor &reactor) { return reactor.get_paid_reactor_object(td); }); transform(top_reactors, [td](const MessageReactor &reactor) { return reactor.get_paid_reactor_object(td); });
} }