fix: preserve WhatsApp forwarded metadata

maintainer edit: carry the bridge isForwarded flag into channel metadata so forwarded voice messages remain distinguishable after transcription.
This commit is contained in:
chengyongru
2026-06-12 18:21:47 +08:00
parent 0505a4fb2a
commit e1ff0f37d9
2 changed files with 25 additions and 0 deletions
+1
View File
@@ -290,6 +290,7 @@ class WhatsAppChannel(BaseChannel):
"message_id": message_id,
"timestamp": data.get("timestamp"),
"is_group": data.get("isGroup", False),
"is_forwarded": bool(data.get("isForwarded", False)),
"participant": participant or None,
"is_reply_to_bot": data.get("isReplyToBot", False),
},