From 8b15c118172f846cc361ae1b2e14a1b6c3b5c428 Mon Sep 17 00:00:00 2001 From: Willian Coqueiro Date: Thu, 22 May 2025 03:38:57 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20adiciona=20suporte=20para=20extens?= =?UTF-8?q?=C3=A3o=20de=20arquivo=20.tif=20no=20envio=20de=20documentos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../integrations/chatbot/chatwoot/services/chatwoot.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts index 6deb7f59..5b42e377 100644 --- a/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts +++ b/src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts @@ -1110,7 +1110,7 @@ export class ChatwootService { return messageSent; } - const documentExtensions = ['.gif', '.svg', '.tiff']; + const documentExtensions = ['.gif', '.svg', '.tiff', '.tif']; if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) { type = 'document'; }