diff --git a/lib/views/rss.tsx b/lib/views/rss.tsx index 0dc353a9138a6e..40cea500ce9a98 100644 --- a/lib/views/rss.tsx +++ b/lib/views/rss.tsx @@ -4,6 +4,7 @@ import { Data } from '@/types'; const RSS: FC<{ data: Data }> = ({ data }) => { const hasItunes = data.itunes_author || data.itunes_category || (data.item && data.item.some((i) => i.itunes_item_image || i.itunes_duration)); const hasMedia = data.item?.some((i) => i.media); + const isTelegramLink = data.link?.startsWith("https://t.me/s/"); return ( @@ -23,6 +24,12 @@ const RSS: FC<{ data: Data }> = ({ data }) => { {data.image} {data.title || 'RSSHub'} {data.link} + {isTelegramLink && ( + <> + 31 + 88 + + )} )} {data.lastBuildDate}