Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix: support WhatsApp voice message download
yorkhellen0f32c0451e3d
diff --git a/bridge/src/whatsapp.ts b/bridge/src/whatsapp.tsindex 55d3a85b6..0d2f40b2e 100644--- a/bridge/src/whatsapp.ts+++ b/bridge/src/whatsapp.ts@@ -165,6 +165,10 @@ export class WhatsAppClient {fallbackContent = '[Video]';const path = await this.downloadMedia(msg, unwrapped.videoMessage.mimetype ?? undefined);if (path) mediaPaths.push(path);+ } else if (unwrapped.audioMessage) {+ fallbackContent = '[Voice Message]';+ const path = await this.downloadMedia(msg, unwrapped.audioMessage.mimetype ?? undefined);+ if (path) mediaPaths.push(path);}const finalContent = content || (mediaPaths.length === 0 ? fallbackContent : '') || '';