From 6b7b5c22f25e46d18b21e2154a84f20bcf6510bc Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sat, 18 Feb 2023 00:58:09 +0100 Subject: [PATCH] Reverted web preview disable --- plugins/callbacks/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/callbacks/submission.py b/plugins/callbacks/submission.py index 4e15b6b..e8420bb 100644 --- a/plugins/callbacks/submission.py +++ b/plugins/callbacks/submission.py @@ -28,7 +28,7 @@ async def callback_query_yes(app: PosterClient, clb: CallbackQuery): return except SubmissionDuplicatesError as exp: await clb.answer(text=locale("sub_duplicates_found", "callback", locale=user_locale), show_alert=True) - await clb.message.reply_text(locale("sub_media_duplicates_list", "message", locale=user_locale).format("\n • ".join(exp.duplicates)), disable_web_page_preview=True, quote=True) + await clb.message.reply_text(locale("sub_media_duplicates_list", "message", locale=user_locale).format("\n • ".join(exp.duplicates)), quote=True) return if submission is not None: