fix: Add merge_brazil_contacts flag to ChannelStartupService

This commit is contained in:
Deivison Lincoln 2024-05-25 10:05:04 -03:00
parent f0d40eea15
commit d7c3779ff7
2 changed files with 4 additions and 0 deletions

View File

@ -306,6 +306,9 @@ export class ChannelStartupService {
this.localChatwoot.conversation_pending = data?.conversation_pending;
this.logger.verbose(`Chatwoot conversation pending: ${this.localChatwoot.conversation_pending}`);
this.localChatwoot.merge_brazil_contacts = data?.merge_brazil_contacts;
this.logger.verbose(`Chatwoot merge brazil contacts: ${this.localChatwoot.merge_brazil_contacts}`);
this.localChatwoot.import_contacts = data?.import_contacts;
this.logger.verbose(`Chatwoot import contacts: ${this.localChatwoot.import_contacts}`);

View File

@ -69,6 +69,7 @@ export declare namespace wa {
number?: string;
reopen_conversation?: boolean;
conversation_pending?: boolean;
merge_brazil_contacts?: boolean;
import_contacts?: boolean;
import_messages?: boolean;
days_limit_import_messages?: number;