From 2865cd9f3279571a70dd53b79b3f64798f3de754 Mon Sep 17 00:00:00 2001 From: Yurii Chukhlib Date: Sat, 17 Jan 2026 00:20:14 +0100 Subject: [PATCH] fix(channels): include linked field in WhatsApp describeAccount Fixes #1030 The describeAccount function for WhatsApp was not returning the linked field, causing the Channels status section to show "Not linked" even when WhatsApp was properly linked and working. The fix adds the linked field to describeAccount, set to the same value as configured (Boolean(account.authDir)). This ensures that the Channels section and Health section show consistent status. --- src/channels/plugins/whatsapp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/channels/plugins/whatsapp.ts b/src/channels/plugins/whatsapp.ts index 85718c74e..0c1660f8e 100644 --- a/src/channels/plugins/whatsapp.ts +++ b/src/channels/plugins/whatsapp.ts @@ -109,6 +109,7 @@ export const whatsappPlugin: ChannelPlugin = { name: account.name, enabled: account.enabled, configured: Boolean(account.authDir), + linked: Boolean(account.authDir), dmPolicy: account.dmPolicy, allowFrom: account.allowFrom, }),