From c4599bb9e92e95c11194adfc638d01f044274c91 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Tue, 26 Jul 2022 11:08:16 -0400 Subject: [PATCH] Fixed bug --- src/status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.ts b/src/status.ts index 0e194fd..d366852 100644 --- a/src/status.ts +++ b/src/status.ts @@ -129,7 +129,7 @@ export const handleStatus = async ( ) { photo = { url: - userAgent?.indexOf('Telegram') !== -1 + userAgent?.indexOf('Telegram') === -1 ? tweet.media.mosaic.formats.webp : tweet.media.mosaic.formats.jpeg, width: tweet.media.mosaic.width,