mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-19 11:59:28 +00:00
fix(mail(js)): use message subject as filename of .eml
This commit is contained in:
@@ -915,7 +915,10 @@
|
||||
* @returns a promise of the HTTP operation
|
||||
*/
|
||||
Message.prototype.download = function() {
|
||||
return Message.$$resource.download(this.$absolutePath(), 'export');
|
||||
var options;
|
||||
|
||||
options = { filename: this.subject + '.eml' };
|
||||
return Message.$$resource.download(this.$absolutePath(), 'export', undefined, options);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user