mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
feat: IA send images and Sentry implemented
This commit is contained in:
@@ -354,7 +354,7 @@ export class ChatwootService {
|
||||
|
||||
return contact;
|
||||
} catch (error) {
|
||||
this.logger.error(error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -289,7 +289,12 @@ class ChatwootImport {
|
||||
this.deleteHistoryMessages(instance);
|
||||
this.deleteRepositoryMessagesCache(instance);
|
||||
|
||||
this.importHistoryContacts(instance, provider);
|
||||
const providerData: ChatwootDto = {
|
||||
...provider,
|
||||
ignoreJids: Array.isArray(provider.ignoreJids) ? provider.ignoreJids.map((event) => String(event)) : [],
|
||||
};
|
||||
|
||||
this.importHistoryContacts(instance, providerData);
|
||||
|
||||
return totalMessagesImported;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user