From c17198e1d0ac780bf154c6697c9005e7beb92c9f Mon Sep 17 00:00:00 2001 From: Pokoke <74485230+Pokoke-01@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:29:25 +0700 Subject: [PATCH] Change the default browser to fix pairing code --- src/Defaults/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Defaults/index.ts b/src/Defaults/index.ts index 821c024..5f434df 100644 --- a/src/Defaults/index.ts +++ b/src/Defaults/index.ts @@ -55,7 +55,7 @@ export const PROCESSABLE_HISTORY_TYPES = [ export const DEFAULT_CONNECTION_CONFIG: SocketConfig = { version: version as WAVersion, - browser: Browsers.baileys('Chrome'), + browser: Browsers.ubuntu('Chrome'), waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat', connectTimeoutMs: 20_000, keepAliveIntervalMs: 30_000,