From d1e10af1e1071663e45ce7b6e7480171ac4b2939 Mon Sep 17 00:00:00 2001 From: Mahmoud Ibrahim Date: Sat, 10 Jan 2026 01:45:24 +0200 Subject: [PATCH] WhatsApp: show all contacts in shares --- src/web/inbound.test.ts | 2 +- src/web/inbound.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/web/inbound.test.ts b/src/web/inbound.test.ts index 5850114da..de9fd4a13 100644 --- a/src/web/inbound.test.ts +++ b/src/web/inbound.test.ts @@ -124,7 +124,7 @@ describe("web inbound helpers", () => { }, } as unknown as import("@whiskeysockets/baileys").proto.IMessage); expect(body).toBe( - "", + "", ); }); diff --git a/src/web/inbound.ts b/src/web/inbound.ts index 8fc094515..38f43b3fe 100644 --- a/src/web/inbound.ts +++ b/src/web/inbound.ts @@ -801,10 +801,7 @@ function formatContactsPlaceholder(labels: string[], total: number): string { const suffix = total === 1 ? "contact" : "contacts"; return ``; } - const shown = cleaned.slice(0, 3); - const remaining = Math.max(total - shown.length, 0); - const suffix = remaining > 0 ? ` +${remaining} more` : ""; - return ``; + return ``; } function formatContactLabel(