Commit deb682c
After WhatsApp's LID (Linked Identity) migration, DMs to contacts
that resolve to @lid JIDs fail with a BadRequestException because
onWhatsApp returns exists:false for LID-based identifiers.
Add @lid to the whitelist alongside @broadcast in both
sendMessageWithTyping and sendPresence so these contacts are not
rejected by the existence check.
Co-authored-by: CORREIA Eduardo <eduardo.correia@hexagon.com>
1 parent 3fb04ed commit deb682c
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 | |
|---|---|---|---|
| |||
2560 | 2560 | | |
2561 | 2561 | | |
2562 | 2562 | | |
2563 | | - | |
| 2563 | + | |
2564 | 2564 | | |
2565 | 2565 | | |
2566 | 2566 | | |
| |||
2844 | 2844 | | |
2845 | 2845 | | |
2846 | 2846 | | |
2847 | | - | |
| 2847 | + | |
2848 | 2848 | | |
2849 | 2849 | | |
2850 | 2850 | | |
| |||
0 commit comments