From abfd13df618f5a05c1421c8ac116d2e0c36809f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Victor=20Souza?= Date: Thu, 11 Jul 2024 15:15:39 -0300 Subject: [PATCH] fix: resolve groups_ignore on create session --- src/api/controllers/instance.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/controllers/instance.controller.ts b/src/api/controllers/instance.controller.ts index 3b2ea0e4..fdc8161f 100644 --- a/src/api/controllers/instance.controller.ts +++ b/src/api/controllers/instance.controller.ts @@ -396,7 +396,7 @@ export class InstanceController { const settings: wa.LocalSettings = { reject_call: reject_call || false, msg_call: msg_call || '', - groups_ignore: groups_ignore || true, + groups_ignore: groups_ignore === undefined ? true : groups_ignore || false, always_online: always_online || false, read_messages: read_messages || false, read_status: read_status || false,