mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-19 09:53:36 -06:00
chore: adiciona suporte para extensão de arquivo .tif no envio de documentos
This commit is contained in:
parent
272a4de236
commit
8b15c11817
@ -1110,7 +1110,7 @@ export class ChatwootService {
|
|||||||
return messageSent;
|
return messageSent;
|
||||||
}
|
}
|
||||||
|
|
||||||
const documentExtensions = ['.gif', '.svg', '.tiff'];
|
const documentExtensions = ['.gif', '.svg', '.tiff', '.tif'];
|
||||||
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