aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/StoryContent.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-01-21 19:29:38 +0300
committerlevlam <levlam@telegram.org>2025-01-21 19:29:38 +0300
commit4b853b588d24489233fe25ee5bfa83835049e917 (patch)
treee94b91980802a87e41f02291effeca3d4e9cb9d0 /td/telegram/StoryContent.cpp
parente65f45830848a97f403fca35eb98eb093dc0876d (diff)
Send video cover to the server.
Diffstat (limited to 'td/telegram/StoryContent.cpp')
-rw-r--r--td/telegram/StoryContent.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/StoryContent.cpp b/td/telegram/StoryContent.cpp
index cf85eb389..d55bec63c 100644
--- a/td/telegram/StoryContent.cpp
+++ b/td/telegram/StoryContent.cpp
@@ -316,7 +316,8 @@ telegram_api::object_ptr<telegram_api::InputMedia> get_story_content_input_media
}
case StoryContentType::Video: {
const auto *story_content = static_cast<const StoryContentVideo *>(content);
- return td->videos_manager_->get_input_media(story_content->file_id_, std::move(input_file), nullptr, 0, 0, false);
+ return td->videos_manager_->get_input_media(story_content->file_id_, std::move(input_file), nullptr, Photo(), 0,
+ 0, false);
}
case StoryContentType::Unsupported:
default: