This commit is contained in:
Eduard Kuzmenko 2022-07-24 23:54:28 +02:00
parent 9b4adcac37
commit 97e4157fdf
2 changed files with 6 additions and 3 deletions

4
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.5.0
VERSION_FULL=1.5.0 (206)
BUILD=206
VERSION_FULL=1.5.0 (207)
BUILD=207

View File

@ -63,7 +63,10 @@ export default async function wrapStickerSetThumb({set, lazyLoadQueue, container
return promise.then((blob) => {
renderImageFromUrl(media, URL.createObjectURL(blob), () => {
container.append(media);
animationIntersector.addAnimation(media as HTMLVideoElement, group);
if(set.pFlags.videos) {
animationIntersector.addAnimation(media as HTMLVideoElement, group);
}
});
});
}