mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
addAttachmentHelper(url,..) the url should be id
This commit is contained in:
parent
364947d1f9
commit
14bd9720e9
1 changed files with 3 additions and 3 deletions
|
|
@ -1222,13 +1222,13 @@ export class ComposePopupView extends AbstractViewPopup {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {string} url
|
* @param {string} id
|
||||||
* @param {string} name
|
* @param {string} name
|
||||||
* @param {number} size
|
* @param {number} size
|
||||||
* @returns {ComposeAttachmentModel}
|
* @returns {ComposeAttachmentModel}
|
||||||
*/
|
*/
|
||||||
addAttachmentHelper(url, name, size) {
|
addAttachmentHelper(id, name, size) {
|
||||||
const attachment = new ComposeAttachmentModel(url, name, size);
|
const attachment = new ComposeAttachmentModel(id, name, size);
|
||||||
this.addAttachment(attachment, 1);
|
this.addAttachment(attachment, 1);
|
||||||
return attachment;
|
return attachment;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue