aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/StoryContent.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-06-23 16:06:02 +0300
committerlevlam <levlam@telegram.org>2023-06-23 16:06:02 +0300
commitc34b4c3ef7fba91621ab1820271700ca4d215071 (patch)
tree2bd25c01de665eceb2334c42fc110bb46cf7304e /td/telegram/StoryContent.cpp
parentfca432eb4336144e7fc22611f74e03a858c582e0 (diff)
Add storyVideo.is_animation.
Diffstat (limited to 'td/telegram/StoryContent.cpp')
-rw-r--r--td/telegram/StoryContent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/StoryContent.cpp b/td/telegram/StoryContent.cpp
index aaff428b2..4769ba51a 100644
--- a/td/telegram/StoryContent.cpp
+++ b/td/telegram/StoryContent.cpp
@@ -170,7 +170,7 @@ Result<unique_ptr<StoryContent>> get_input_story_content(
td->videos_manager_->create_video(file_id, string(), PhotoSize(), AnimationSize(), has_stickers,
std::move(sticker_file_ids), "story.mp4", "video/mp4",
static_cast<int32>(std::ceil(input_story->duration_)), input_story->duration_,
- get_dimensions(720, 1280, nullptr), true, 0, false);
+ get_dimensions(720, 1280, nullptr), true, input_story->is_animation_, 0, false);
return make_unique<StoryContentVideo>(file_id, FileId());
}