Commit 6275b10
fix: extend LID resolution to message-receipt.update and contacts handlers
- message-receipt.update: resolve @lid to @s.whatsapp.net before updating
read status, ensuring receipts match messages stored with resolved JIDs
- contacts.upsert: use lidJidAlt when contact.id contains @lid, so contacts
are saved with the correct @s.whatsapp.net JID
- contacts.update: same LID resolution for contact updates
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 11ae4d1 commit 6275b10
File tree
1 file changed
+11
-3
lines changed- src/api/integrations/channel/whatsapp
1 file changed
+11
-3
lines changedLines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
786 | 788 | | |
787 | 789 | | |
788 | 790 | | |
| |||
821 | 823 | | |
822 | 824 | | |
823 | 825 | | |
824 | | - | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
825 | 829 | | |
826 | 830 | | |
827 | 831 | | |
| |||
1671 | 1675 | | |
1672 | 1676 | | |
1673 | 1677 | | |
1674 | | - | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
1675 | 1683 | | |
1676 | 1684 | | |
1677 | 1685 | | |
| |||
0 commit comments