From c54c306b7e92a82a48cd87d208c746d97462563e Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Wed, 15 Nov 2023 15:16:03 -0500 Subject: [PATCH] Improve gallery mode for Telegram --- src/embed/status.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/embed/status.ts b/src/embed/status.ts index 9e40fff..adff732 100644 --- a/src/embed/status.ts +++ b/src/embed/status.ts @@ -413,9 +413,15 @@ export const handleStatus = async ( ``, ); } else { - headers.push( - `` - ) + if (isTelegram) { + headers.push( + `` + ) + } else { + headers.push( + `` + ) + } } /* Special reply handling if authorText is not overriden */