Commit 442e7a9
fix(baileys): pass quoted to sendMessageWithTyping in audioWhatsapp
The audioWhatsapp method was not passing the `quoted` field to
sendMessageWithTyping, causing audio replies to not render as quoted
replies in WhatsApp. This affected both the encoding=true (base64)
and encoding=false (URL) branches.
The `quoted` field was already present in SendAudioDto (via Metadata
base class) and accepted by the JSONSchema7 validation, but the service
layer was silently dropping it.
Fix: add `quoted: data?.quoted` to the options object in both branches,
matching the behavior already implemented by textMessage and
evolution.channel.service.ts audioWhatsapp.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent cd800f2 commit 442e7a9
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3224 | 3224 | | |
3225 | 3225 | | |
3226 | 3226 | | |
3227 | | - | |
| 3227 | + | |
3228 | 3228 | | |
3229 | 3229 | | |
3230 | 3230 | | |
| |||
3241 | 3241 | | |
3242 | 3242 | | |
3243 | 3243 | | |
3244 | | - | |
| 3244 | + | |
3245 | 3245 | | |
3246 | 3246 | | |
3247 | 3247 | | |
| |||
0 commit comments