fix: bsky external parse

This commit is contained in:
xtaodada 2024-10-21 18:09:53 +08:00
parent 13cef4824a
commit 70369ad436
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

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