From 0ed55a626a7b90559b3926a5ff0e2636133e98c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadej=20=C5=A0ivak?= Date: Mon, 18 Oct 2021 15:07:09 +0200 Subject: [PATCH] Add filename to attachments --- src/plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin.js b/src/plugin.js index 8ffb0f4..80cc09c 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -23,7 +23,8 @@ var plugin = function(options) { cid: randomCid, content: base64, encoding: 'base64', - contentDisposition: 'inline' + contentDisposition: 'inline', + filename: randomCid }; return randomCid; });