From 97e4157fdf6689965a4c36278900e741d269c830 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Sun, 24 Jul 2022 23:54:28 +0200 Subject: [PATCH] F --- .env | 4 ++-- src/components/wrappers/stickerSetThumb.ts | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.env b/.env index dc58b1f2..d01260e1 100644 --- a/.env +++ b/.env @@ -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 diff --git a/src/components/wrappers/stickerSetThumb.ts b/src/components/wrappers/stickerSetThumb.ts index ff341689..b629b079 100644 --- a/src/components/wrappers/stickerSetThumb.ts +++ b/src/components/wrappers/stickerSetThumb.ts @@ -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); + } }); }); }