2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Force streaming bit for stories videos.

This commit is contained in:
John Preston
2023-06-16 16:44:32 +04:00
parent fc0902adf0
commit 08c4f1f67a
3 changed files with 34 additions and 13 deletions

View File

@@ -59,6 +59,7 @@ using UpdateFlag = StoryUpdate::Flag;
const auto result = owner->processDocument(*document);
if (!result->isNull()
&& (result->isGifv() || result->isVideoFile())) {
result->setStoryMedia(true);
return StoryMedia{ result };
}
}