From 423409b4574287d99a139ffde96788498583a9c0 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 28 Apr 2024 22:40:05 -0400 Subject: [PATCH] More lenient matching for Telegram --- src/render/video.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/video.ts b/src/render/video.ts index 8205107..a07a867 100644 --- a/src/render/video.ts +++ b/src/render/video.ts @@ -52,7 +52,7 @@ export const renderVideo = ( if ( experimentCheck(Experiment.TRANSCODE_GIFS, !!Constants.GIF_TRANSCODE_DOMAIN) && - !userAgent?.includes('TelegramBot') && + !userAgent?.includes('Telegram') && video.type === 'gif' ) { url = video.url.replace(