diff --git a/CHANGELOG.md b/CHANGELOG.md index d3078a78..3ec26b40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ * Fixed chatwoot Bold, Italic and Underline formatting using Regex * Added the sign_delimiter property to the Chatwoot configuration, allowing you to set a different delimiter for the signature. Default when not defined \n * Include instance Id field in the instance configuration +* Fixed the pairing code # 1.6.0 (2023-12-12 17:24) diff --git a/src/whatsapp/services/whatsapp.service.ts b/src/whatsapp/services/whatsapp.service.ts index 8eaa1a2a..2529e616 100644 --- a/src/whatsapp/services/whatsapp.service.ts +++ b/src/whatsapp/services/whatsapp.service.ts @@ -1383,7 +1383,7 @@ export class WAStartupService { }, logger: P({ level: this.logBaileys }), printQRInTerminal: false, - browser, + browser: ['Chrome (Linux)', '', ''], version, markOnlineOnConnect: this.localSettings.always_online, retryRequestDelayMs: 10, @@ -1449,8 +1449,8 @@ export class WAStartupService { this.instance.authState = await this.defineAuthState(); const { version } = await fetchLatestBaileysVersion(); - const session = this.configService.get('CONFIG_SESSION_PHONE'); - const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()]; + // const session = this.configService.get('CONFIG_SESSION_PHONE'); + // const browser: WABrowserDescription = [session.CLIENT, session.NAME, release()]; let options; @@ -1470,7 +1470,7 @@ export class WAStartupService { }, logger: P({ level: this.logBaileys }), printQRInTerminal: false, - browser, + browser: ['Chrome (Linux)', '', ''], version, markOnlineOnConnect: this.localSettings.always_online, retryRequestDelayMs: 10,