diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index 89d6de505..ef945d3d7 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -23864,6 +23864,7 @@ void MessagesManager::set_message_reaction(FullMessageId full_message_id, string send_update_message_interaction_info(dialog_id, m); 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)); } diff --git a/td/telegram/StickersManager.cpp b/td/telegram/StickersManager.cpp index 21ae52b08..461512324 100644 --- a/td/telegram/StickersManager.cpp +++ b/td/telegram/StickersManager.cpp @@ -5585,7 +5585,7 @@ Result> StickersManager::prepare_i Result> StickersManager::prepare_input_file( const tl_object_ptr &input_file, StickerFormat format, bool for_thumbnail) { 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); if (r_file_id.is_error()) { return Status::Error(400, r_file_id.error().message());