Skip to content

Commit 8eced6c

Browse files
committed
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
2 parents afcf6ea + 5be01e1 commit 8eced6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api/integrations/chatwoot/services/chatwoot.service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,10 @@ export class ChatwootService {
10921092
return messageSent;
10931093
}
10941094

1095+
if (type === 'image' && parsedMedia && parsedMedia?.ext === '.gif') {
1096+
type = 'document';
1097+
}
1098+
10951099
this.logger.verbose('send media to instance: ' + waInstance.instanceName);
10961100
const data: SendMediaDto = {
10971101
number: number,

0 commit comments

Comments
 (0)