Skip to content

Commit d7c3779

Browse files
committed
fix: Add merge_brazil_contacts flag to ChannelStartupService
1 parent f0d40ee commit d7c3779

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/api/services/channel.service.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ export class ChannelStartupService {
306306
this.localChatwoot.conversation_pending = data?.conversation_pending;
307307
this.logger.verbose(`Chatwoot conversation pending: ${this.localChatwoot.conversation_pending}`);
308308

309+
this.localChatwoot.merge_brazil_contacts = data?.merge_brazil_contacts;
310+
this.logger.verbose(`Chatwoot merge brazil contacts: ${this.localChatwoot.merge_brazil_contacts}`);
311+
309312
this.localChatwoot.import_contacts = data?.import_contacts;
310313
this.logger.verbose(`Chatwoot import contacts: ${this.localChatwoot.import_contacts}`);
311314

src/api/types/wa.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export declare namespace wa {
6969
number?: string;
7070
reopen_conversation?: boolean;
7171
conversation_pending?: boolean;
72+
merge_brazil_contacts?: boolean;
7273
import_contacts?: boolean;
7374
import_messages?: boolean;
7475
days_limit_import_messages?: number;

0 commit comments

Comments
 (0)