We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b81702 commit 0ca109eCopy full SHA for 0ca109e
src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts
@@ -1110,7 +1110,8 @@ export class ChatwootService {
1110
return messageSent;
1111
}
1112
1113
- if (type === 'image' && parsedMedia && parsedMedia?.ext === '.gif') {
+ const documentExtensions = ['.gif', '.svg'];
1114
+ if (type === 'image' && parsedMedia && documentExtensions.includes(parsedMedia?.ext)) {
1115
type = 'document';
1116
1117
0 commit comments