Skip to content

Commit

Permalink
new(basic.gblib): SEND FILE pdf as temporary images.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Oct 4, 2024
1 parent 8025db4 commit dc4fa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basic.gblib/services/DialogKeywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ export class DialogKeywords {
contentUrl: url
});

if (channel === 'omnichannel' || channel === 'whatsapp' || !user) {
if (!isNaN(mobile)) {
await min.whatsAppDirectLine.sendFileToDevice(mobile, url, filename, caption, undefined, true);
} else {
await min.conversationalService['sendOnConversation'](min, user, reply);
Expand Down

0 comments on commit dc4fa86

Please sign in to comment.