-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
Closed
Closed
Copy link
Description
Problem
BlueBubbles group chat messages do not include sender information in the message header/envelope passed to the LLM, making it impossible for the AI to distinguish who is speaking in group chats.
Expected format:
[BlueBubbles GROUP CHAT from 张三 (+8613800138000) Sat 2026-02-14 21:00 GMT+8] message text
Actual format:
[BlueBubbles Sat 2026-02-14 21:00 GMT+8] message text
The [from:] field is completely absent for group messages.
Root Cause
In monitor-processing.ts (around line 1996-2020), the fromLabel is explicitly set to undefined for group chats:
const fromLabel = isGroup ? undefined : message.senderName || `user:${message.senderId}`;The sender data (senderId, senderName) exists in the webhook payload but is not included in the formatted message body/envelope.
Impact
- AI agent cannot identify who sent each message in group chats
- Leads to misattribution of messages (e.g., confusing family members)
- Severely degrades group chat experience
Environment
- OpenClaw: 2026.2.12
- BlueBubbles Server: macOS 26.2.0
- Platform: macOS (Apple Silicon)
Related
- Issue [Bug]: Telegram groups sender missing in LLM envelope #336 (same problem for Telegram group chats)
Suggested Fix
Include sender info in the envelope for group messages, similar to what #336 proposes for Telegram:
const fromLabel = message.senderName || `user:${message.senderId}`;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels