Commit 0714d8f
fix: pass quoted option in audioWhatsapp to support replies (fixes #2485)
The `audioWhatsapp` method was not forwarding `data.quoted` to
`sendMessageWithTyping`, so audio messages sent with a `quoted` key
were delivered as standalone messages instead of replies.
Added `quoted: data?.quoted` to the options object in both
`sendMessageWithTyping` call sites inside `audioWhatsapp` (the
encoding path and the direct path), matching the pattern used by all
other message-sending methods (textMessage, pollMessage, etc.).
Co-Authored-By: Octopus <liyuan851277048@icloud.com>1 parent cd800f2 commit 0714d8f
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