From 526515dcdeabe5343abdd73f54da30132f258a0b Mon Sep 17 00:00:00 2001 From: heaven Date: Tue, 5 May 2026 22:53:27 +0300 Subject: [PATCH] feat(bots-whatsapp): drop the unpredictable-bans paragraph from the AboutCard risk callout --- apps/widget-whatsapp/src/App.tsx | 1 - apps/widget-whatsapp/src/i18n/en.ts | 2 -- apps/widget-whatsapp/src/i18n/ru.ts | 2 -- 3 files changed, 5 deletions(-) diff --git a/apps/widget-whatsapp/src/App.tsx b/apps/widget-whatsapp/src/App.tsx index a358f619..16bbaa1a 100644 --- a/apps/widget-whatsapp/src/App.tsx +++ b/apps/widget-whatsapp/src/App.tsx @@ -709,7 +709,6 @@ const AboutModal = ({ t, onClose }: AboutModalProps) => {

{t('warning.title')}

{t('warning.body-1')}

-

{t('warning.body-2')}

{t('warning.tos-label')}{' '} diff --git a/apps/widget-whatsapp/src/i18n/en.ts b/apps/widget-whatsapp/src/i18n/en.ts index af6f8a3f..7de15030 100644 --- a/apps/widget-whatsapp/src/i18n/en.ts +++ b/apps/widget-whatsapp/src/i18n/en.ts @@ -23,8 +23,6 @@ export const EN: Record = { 'warning.title': 'Important before linking WhatsApp', 'warning.body-1': 'Mautrix-whatsapp connects to your account through the same linked-device mechanism as WhatsApp Web. Technically a standard API — but unlike other messengers, WhatsApp’s terms of service explicitly forbid connecting through third-party clients, and Meta may ban your account for it.', - 'warning.body-2': - 'WhatsApp bans are regular and unpredictable — Meta does not publish criteria. For some users the bridge works for years without issue; for others the account is banned within hours of linking.', 'warning.tos-label': 'WhatsApp terms of service:', 'warning.tos-url': 'https://www.whatsapp.com/legal/terms-of-service', 'card.about.name': 'How the WhatsApp bot works', diff --git a/apps/widget-whatsapp/src/i18n/ru.ts b/apps/widget-whatsapp/src/i18n/ru.ts index 04a2d54e..0e5fb214 100644 --- a/apps/widget-whatsapp/src/i18n/ru.ts +++ b/apps/widget-whatsapp/src/i18n/ru.ts @@ -58,8 +58,6 @@ export const RU = { 'warning.title': 'Важно знать до подключения WhatsApp', 'warning.body-1': 'Mautrix-whatsapp подключает ваш аккаунт через тот же механизм связанных устройств, что и WhatsApp Web. Технически это стандартный API — но в отличие от других мессенджеров, условия использования WhatsApp прямо запрещают подключение через сторонние клиенты, и Meta может заблокировать аккаунт за это.', - 'warning.body-2': - 'Блокировки со стороны WhatsApp регулярны и непредсказуемы — точные критерии Meta не публикует. У одних мост работает годами без проблем, у других аккаунт блокируется в первые часы после привязки.', // Источник про запрет в ToS — даём юзеру возможность дойти до // оригинала самому, не доверять нам на слово. Кликается потому что // host-side iframe sandbox получил allow-popups (см.