diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index c6072f3c..e70817fd 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -18835,7 +18835,7 @@ void MessagesManager::do_send_message(DialogId dialog_id, const Message *m, vect on_secret_message_media_uploaded(dialog_id, m, std::move(secret_input_media), file_id, thumbnail_file_id); } } else { - auto input_media = get_input_media(content, td_, m->ttl, false); + auto input_media = get_input_media(content, td_, m->ttl, td_->auth_manager_->is_bot()); if (input_media == nullptr) { if (content_type == MessageContentType::Game || content_type == MessageContentType::Poll) { return;