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:
@@ -1187,6 +1187,9 @@ bool DocumentData::hasRemoteLocation() const {
|
||||
}
|
||||
|
||||
bool DocumentData::useStreamingLoader() const {
|
||||
if (const auto info = sticker()) {
|
||||
return info->isWebm();
|
||||
}
|
||||
return isAnimation()
|
||||
|| isVideoFile()
|
||||
|| isAudioFile()
|
||||
|
Reference in New Issue
Block a user