Skip to content

Commit

Permalink
fix button_url_invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsmh authored Dec 16, 2023
1 parent db27aaf commit 3aca8ec
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ async def parse_send(f: feed, fallback: bool = False) -> None:
captions(f),
allow_sending_without_reply=True,
disable_notification=True,
reply_markup=origin_link(urls[num]),
)
break
try:
Expand Down Expand Up @@ -374,7 +373,6 @@ async def fetch(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
captions(f),
allow_sending_without_reply=True,
disable_notification=True,
reply_markup=origin_link(urls[num]),
)
continue
if f.mediaurls:
Expand Down Expand Up @@ -492,7 +490,6 @@ async def inline_query_answer(inline_query, msg):
id=str(uuid4()),
title="解析错误!",
description=f.__str__(),
reply_markup=origin_link(url),
input_message_content=InputTextMessageContent(
captions(f),
),
Expand Down

0 comments on commit 3aca8ec

Please sign in to comment.