Don't add linked attachments in zip

This commit is contained in:
RainLoop Team 2015-04-28 20:48:57 +04:00
parent 9141d56dde
commit 1d61ea347f

View file

@ -1013,7 +1013,7 @@
MessageViewMailBoxUserView.prototype.getAttachmentsHashes = function () MessageViewMailBoxUserView.prototype.getAttachmentsHashes = function ()
{ {
return _.compact(_.map(this.message() ? this.message().attachments() : [], function (oItem) { return _.compact(_.map(this.message() ? this.message().attachments() : [], function (oItem) {
return oItem && oItem.checked() ? oItem.download : ''; return oItem && !oItem.isLinked && oItem.checked() ? oItem.download : '';
})); }));
}; };