mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 09:36:12 +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