mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 04:02:54 -06:00
chore: possibilita o envio de medias do tipo svg e tiff vindas do Chatwoot
This commit is contained in:
parent
0ca109e9d6
commit
272a4de236
@ -1110,7 +1110,7 @@ export class ChatwootService {
|
|||||||
return messageSent;
|
return messageSent;
|
||||||
}
|
}
|
||||||
|
|
||||||
const documentExtensions = ['.gif', '.svg'];
|
const documentExtensions = ['.gif', '.svg', '.tiff'];
|
||||||
if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) {
|
if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) {
|
||||||
type = 'document';
|
type = 'document';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user