From 70369ad43638fa044dae46c0ec191d2c36a0daf3 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 21 Oct 2024 18:09:53 +0800 Subject: [PATCH] fix: bsky external parse --- defs/bsky.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/defs/bsky.py b/defs/bsky.py index 6dff556..64bf8e9 100644 --- a/defs/bsky.py +++ b/defs/bsky.py @@ -100,15 +100,6 @@ class Timeline: parse_mode=ParseMode.HTML, reply_markup=Timeline.get_button(post), ) - elif post.external: - return await bot.send_document( - reply.cid, - post.external, - caption=text, - reply_to_message_id=reply.mid, - parse_mode=ParseMode.HTML, - reply_markup=Timeline.get_button(post), - ) elif not post.images: return await bot.send_message( reply.cid,