fix(mail): use unique names for attachments

Fixes #5086
This commit is contained in:
Francis Lachapelle
2020-07-23 12:56:35 -04:00
parent d549c296ae
commit 9c391b8d8d
5 changed files with 44 additions and 28 deletions
@@ -138,6 +138,7 @@
vm.message.$setUID(response.uid);
vm.message.$reload();
item.inlineUrl = response.lastAttachmentAttrs[0].url;
item.file.name = response.lastAttachmentAttrs[0].filename;
//console.debug(item); console.debug('success = ' + JSON.stringify(response, undefined, 2));
},
onCancelItem: function(item, response, status, headers) {