2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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()