From 9c66d6cc86885ebfe7870365804470d5efd61f6a Mon Sep 17 00:00:00 2001 From: zubiden <19638254+zubiden@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:43:45 +0100 Subject: [PATCH] Message: Fix sending error if pending webpage fails (#6709) --- src/components/common/Composer.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/common/Composer.tsx b/src/components/common/Composer.tsx index 0e498971d..7421ad45a 100644 --- a/src/components/common/Composer.tsx +++ b/src/components/common/Composer.tsx @@ -599,7 +599,8 @@ const Composer: FC = ({ handleWithConfirmation: handleActionWithPaymentConfirmation, } = usePaidMessageConfirmation(starsForAllMessages, isStarsBalanceModalOpen, starsBalance); - const hasWebPagePreview = !hasAttachments && canAttachEmbedLinks && !noWebPage && Boolean(webPagePreview); + const hasWebPagePreview = !hasAttachments && canAttachEmbedLinks && !noWebPage + && webPagePreview?.webpageType === 'full'; const isComposerBlocked = isSendTextBlocked && !editingMessage; useEffect(() => {