Telegram doesn't let you open image embeds inline anymore

This commit is contained in:
dangered wolf 2023-10-29 19:15:33 -04:00
parent 8184ea1c7e
commit 26a782f644
No known key found for this signature in database
GPG key ID: 41E4D37680ED8B58

View file

@ -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 ||