mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Keep alternative video qualities list.
This commit is contained in:
@@ -62,7 +62,9 @@ using UpdateFlag = StoryUpdate::Flag;
|
||||
}, [&](const MTPDmessageMediaDocument &data)
|
||||
-> std::optional<StoryMedia> {
|
||||
if (const auto document = data.vdocument()) {
|
||||
const auto result = owner->processDocument(*document);
|
||||
const auto result = owner->processDocument(
|
||||
*document,
|
||||
data.valt_documents());
|
||||
if (!result->isNull()
|
||||
&& (result->isGifv() || result->isVideoFile())) {
|
||||
result->setStoryMedia(true);
|
||||
|
Reference in New Issue
Block a user