Fix misprint.
This commit is contained in:
parent
97e0288363
commit
262d63564d
@ -23864,6 +23864,7 @@ void MessagesManager::set_message_reaction(FullMessageId full_message_id, string
|
|||||||
send_update_message_interaction_info(dialog_id, m);
|
send_update_message_interaction_info(dialog_id, m);
|
||||||
on_message_changed(d, m, true, "set_message_reaction");
|
on_message_changed(d, m, true, "set_message_reaction");
|
||||||
|
|
||||||
|
// TODO invoke_after, cancel previous queries, log event
|
||||||
::td::set_message_reaction(td_, full_message_id, std::move(reaction), is_big, std::move(promise));
|
::td::set_message_reaction(td_, full_message_id, std::move(reaction), is_big, std::move(promise));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5585,7 +5585,7 @@ Result<std::tuple<FileId, bool, bool, StickerFormat>> StickersManager::prepare_i
|
|||||||
Result<std::tuple<FileId, bool, bool, StickerFormat>> StickersManager::prepare_input_file(
|
Result<std::tuple<FileId, bool, bool, StickerFormat>> StickersManager::prepare_input_file(
|
||||||
const tl_object_ptr<td_api::InputFile> &input_file, StickerFormat format, bool for_thumbnail) {
|
const tl_object_ptr<td_api::InputFile> &input_file, StickerFormat format, bool for_thumbnail) {
|
||||||
auto file_type =
|
auto file_type =
|
||||||
format == StickerFormat::Tgs || format == StickerFormat::Tgs ? FileType::Sticker : FileType::Document;
|
format == StickerFormat::Webm || format == StickerFormat::Tgs ? FileType::Sticker : FileType::Document;
|
||||||
auto r_file_id = td_->file_manager_->get_input_file_id(file_type, input_file, DialogId(), for_thumbnail, false);
|
auto r_file_id = td_->file_manager_->get_input_file_id(file_type, input_file, DialogId(), for_thumbnail, false);
|
||||||
if (r_file_id.is_error()) {
|
if (r_file_id.is_error()) {
|
||||||
return Status::Error(400, r_file_id.error().message());
|
return Status::Error(400, r_file_id.error().message());
|
||||||
|
Loading…
Reference in New Issue
Block a user