Skip to content

Commit 272a4de

Browse files
committed
chore: possibilita o envio de medias do tipo svg e tiff vindas do Chatwoot
1 parent 0ca109e commit 272a4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ export class ChatwootService {
11101110
return messageSent;
11111111
}
11121112

1113-
const documentExtensions = ['.gif', '.svg'];
1113+
const documentExtensions = ['.gif', '.svg', '.tiff'];
11141114
if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) {
11151115
type = 'document';
11161116
}

0 commit comments

Comments
 (0)