mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
In Baileys 5.x a "+" was always added at the beginning of the jids provided to the onWhatsApp method. This was removed later in the 6.x version and has created a subtle problem. Many phone numbers where correctly verified but for some reason french mobile number (starting with 336 or 337) always returned an undefined result (maybe there were problems with some other countries too, I couldn't verify). Adding back the "+" (if missing) should fix the problem.