2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 08:55:59 +00:00

Support Webm sticker display in chat history.

This commit is contained in:
John Preston
2022-01-20 15:58:32 +03:00
parent 2f01efdd64
commit 63d15e4479
9 changed files with 138 additions and 149 deletions

View File

@@ -1187,6 +1187,9 @@ bool DocumentData::hasRemoteLocation() const {
}
bool DocumentData::useStreamingLoader() const {
if (const auto info = sticker()) {
return info->isWebm();
}
return isAnimation()
|| isVideoFile()
|| isAudioFile()