fix(whatsapp.gblib): Fix in sending numbers with plus sign.
This commit is contained in:
parent
edd800f36e
commit
54612054cc
1 changed files with 1 additions and 0 deletions
|
@ -900,6 +900,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
|
||||
switch (this.provider) {
|
||||
case 'GeneralBots':
|
||||
to = to.replace('+', '');
|
||||
if (to.indexOf('@') == -1) {
|
||||
if (to.length == 18) {
|
||||
to = to + '@g.us';
|
||||
|
|
Loading…
Add table
Reference in a new issue