Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
DavidsonGomes committed Jun 6, 2024
2 parents afcf6ea + 5be01e1 commit 8eced6c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/integrations/chatwoot/services/chatwoot.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,10 @@ export class ChatwootService {
return messageSent;
}

if (type === 'image' && parsedMedia && parsedMedia?.ext === '.gif') {
type = 'document';
}

this.logger.verbose('send media to instance: ' + waInstance.instanceName);
const data: SendMediaDto = {
number: number,
Expand Down

0 comments on commit 8eced6c

Please sign in to comment.