Incoming text replies lose contextInfo (stanzaId / quotedMessage) — arrive as plain conversation
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
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.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 7.5k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 4
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from evolution-foundation/evolution-api
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
evolution-foundation/evolution-api#2796 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
evolution-foundation/evolution-api#2795 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
evolution-foundation/evolution-api#2782 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
evolution-foundation/evolution-api#2723 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
evolution-foundation/evolution-api#2704 ·
Maintainers usually reply within 4 days
All issues in evolution-foundation/evolution-api
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
abhigyanpatwari/GitNexus#4124 ·
Maintainers usually reply within 1 day
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
laaielichter/Godotwright#250 ·
Maintainers usually reply within 1 day
-
An Antigravity tab can quote an old Assist message as the owner's words in a resumed conversationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Retry an empty final answer when Gemini reports MALFORMED_RESPONSE (gemini-4-hydrogen)Possibly taken @waleedkadous claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
iaser-ai/ansari#444 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: Manager UI logo fails to load — broken external URLPossibly taken @kavindu-udara claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100