Incoming messages are dropped when the contact has disappearing messages enabled (v2.3.7, Baileys) — no messages.upsert, not stored
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- node.js, postgresql, redis, typescript
调研方向
Start by tracing the Baileys incoming message handling and the messages.upsert webhook path; the payload does not name specific files or tests. Reproduce with a contact that has disappearing messages enabled and compare it with a chat where they are disabled. Done means the incoming message is stored and emitted through messages.upsert in both cases.
由索引模型根据 Issue 内容生成。
描述
Welcome!
- Yes, I have searched for similar issues on GitHub and found none.
What did you do?
Evolution API 2.3.7 (Docker), WHATSAPP-BAILEYS integration, webhook with MESSAGES_UPSERT enabled (working normally for all other chats).
- From another phone, open the chat with the instance number and enable WhatsApp "Disappearing messages" (24 hours).
- Send a text message (e.g. "hi, how much is it?").
- Disable disappearing messages in the same chat and send another text message.
Reproduced on more than one instance on the same server, 100% of the time.
What did you expect?
Incoming messages in chats with disappearing messages enabled should be received like any other message (e.g. as ephemeralMessage wrapping the content, or unwrapped), stored, and emitted via messages.upsert to the webhook.
What did you observe instead of what you expected?
With disappearing messages ON: the message is visible on the phone linked to the instance, but Evolution API never receives it — no messages.upsert webhook call, and the message is not stored (it does not appear in the instance chat in the Manager, only the messages sent by the instance appear).
With disappearing messages OFF: new messages are received, stored and sent to the webhook normally.
Impact: for customer service integrations, any customer with disappearing messages enabled is silently ignored (no event, no error), so they never get a reply.
Screenshots/Videos
No response
Which version of the API are you using?
Versão / Version: 2.3.7
What is your environment?
Docker
Other environment specifications
Docker (Portainer), WHATSAPP-BAILEYS, PostgreSQL + Redis
If applicable, paste the log output
Can provide container logs captured at the moment of the test if needed.
Additional Notes
No response
- 主要语言
- 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
-
[Bug]: Manager UI logo fails to load — broken external URL可能已有人在做 @kavindu-udara 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 62/100
excalidraw/excalidraw#12743 ·
维护者通常 1 天内回复
-
area: cli priority: P2 type: bug
难度 2/5 1-3 小时 新手友好度 62/100
appandflow/stim#6381 · 1 条评论 ·
维护者通常 1 天内回复
-
area: ui-kit type: chore
难度 1/5 1 小时以内 新手友好度 82/100
schlessera/brain-kit#4598 ·
维护者通常 1 天内回复
-
good first issue spec
难度 2/5 1-3 小时 新手友好度 66/100