Incoming text replies lose contextInfo (stanzaId / quotedMessage) — arrive as plain conversation
維護者通常 4 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
Start by tracing the Baileys messages.upsert handling and the findMessages storage path; the issue does not name specific files or tests. Compare incoming text replies addressed by LID with the working audio/image and outgoing reply cases, then check how the quoted message context is preserved. Done means both the webhook payload and stored record retain contextInfo.stanzaId and contextInfo.quotedMessage for incoming quoted text replies.
由索引模型根據 Issue 內容生成。
描述
Version: Evolution API v2.4.0 (Baileys), self-hosted
What happens
When a contact replies (quotes) one of our messages using a text message, the messages.upsert webhook delivers:
"message": { "conversation": "reply text here" }
No extendedTextMessage, no contextInfo, so stanzaId and quotedMessage are lost. The same happens in the record stored by findMessages.
What works
- Replies sent as audio or image keep
contextInfo.stanzaId/quotedMessagecorrectly. - Replies sent by us (
fromMe: true) keepcontextInfocorrectly.
Observed with
- Chats addressed by LID (
remoteJidending in@lid, real number inremoteJidAlt). We sampled ~800 stored records: no incoming text message from a contact hadcontextInfo, while audio/image replies did.
Expected
Incoming quoted text replies should arrive as extendedTextMessage with contextInfo.stanzaId and contextInfo.quotedMessage, as on the WhatsApp app.
Possibly related: #2065, #2645, #1872, PR #1818 (none describes exactly this case).
- 主要語言
- TypeScript
- 星號
- 10.2k
- 分支
- 7.5k
- 平均合併
- 6 天 19 小時
- 30 天內合併 PR
- 4
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
evolution-foundation/evolution-api 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
evolution-foundation/evolution-api#2796 ·
維護者通常 4 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
evolution-foundation/evolution-api#2795 ·
維護者通常 4 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
evolution-foundation/evolution-api#2782 ·
維護者通常 4 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
evolution-foundation/evolution-api#2723 ·
維護者通常 4 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100
evolution-foundation/evolution-api#2704 ·
維護者通常 4 天內回覆
查看 evolution-foundation/evolution-api 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
abhigyanpatwari/GitNexus#4124 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 72/100
laaielichter/Godotwright#250 ·
維護者通常 1 天內回覆
-
An Antigravity tab can quote an old Assist message as the owner's words in a resumed conversation未關閉
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
Retry an empty final answer when Gemini reports MALFORMED_RESPONSE (gemini-4-hydrogen)可能已有人在做 @waleedkadous 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
[Bug]: Manager UI logo fails to load — broken external URL可能已有人在做 @kavindu-udara 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 68/100