From 26a782f64440880358d7287f3f427e9417a4ea8b Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Sun, 29 Oct 2023 19:15:33 -0400 Subject: [PATCH] Telegram doesn't let you open image embeds inline anymore --- src/embed/status.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/embed/status.ts b/src/embed/status.ts index 8c4f413..d38198f 100644 --- a/src/embed/status.ts +++ b/src/embed/status.ts @@ -63,7 +63,8 @@ export const handleStatus = async ( isTelegram /*&& !tweet.possibly_sensitive*/ && !flags?.direct && !flags?.api && - (tweet.media?.mosaic || + (tweet.media?.photos?.[0] || // Force instant view for photos for now https://bugs.telegram.org/c/33679 + tweet.media?.mosaic || tweet.is_note_tweet || tweet.quote || tweet.translation ||