fix(send): send to known LIDs passed as phone numbers; expose version
Integrations that store the contact's LID as its number (255284433936406) failed with 'no LID found for [email protected]'. When the number is not a registered phone and the instance's LID store maps it to a phone number, send to <number>@lid instead. GET /server/ok now also returns the running version, so a deployment can be checked without reading the startup log. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
c9511a636e
commit
b140fdb390
6 files changed
+91
-4
No files matched your search
@@ -26,6 +26,14 @@
|
||||
WhatsApp as duas variantes (com e sem o 9) e usam a que está registrada.
|
||||
Contas antigas sem o 9 (ex.: `554291389691`) passam a receber mesmo quando o
|
||||
sistema envia `5542991389691`, e vice-versa (upstream issue #214 / PR #208).
|
||||
- **LID enviado como número** — quando o `number` não existe como telefone mas
|
||||
é o LID de um contato já conhecido pela instância (ex.: `255284433936406`),
|
||||
o envio vai direto para `255284433936406@lid` em vez de falhar com
|
||||
`no LID found for [email protected]`.
|
||||
|
||||
### 🆕 Novidades
|
||||
- `GET /server/ok` passa a informar a versão em execução
|
||||
(`{"status":"ok","version":"0.7.2-evogo.3-<sha7>"}`).
|
||||
|
||||
### 🛡️ Estabilidade (correções da comunidade incorporadas pelo EvoGO)
|
||||
- **Crash `concurrent map writes`** — `clientPointer`, `myClientPointer` e
|
||||
|
||||
Reference in new issue
Block a user