fix(basic.gblib): update ChatServices.ts #420
1 changed files with 1 additions and 0 deletions
|
|
@ -760,6 +760,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
switch (this.provider) {
|
||||
case 'GeneralBots':
|
||||
const attachment = await MessageMedia.fromUrl(url);
|
||||
to = to.replace('+', '');
|
||||
if (to.indexOf('@') == -1) {
|
||||
if (to.length == 18) {
|
||||
to = to + '@g.us';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue