Skip to content

Commit

Permalink
Merge pull request #682 from jtapeg/fix-groups-ignore
Browse files Browse the repository at this point in the history
Fix: groups_ignore in /instance/create and maintaining compatibility
  • Loading branch information
DavidsonGomes authored Jul 12, 2024
2 parents 05eb58b + c55885b commit 1d81c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/controllers/instance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1d81c79

Please sign in to comment.