From 14bd9720e914bb198acabbb843c4afae6b65d2f6 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Thu, 10 Nov 2022 12:41:04 +0100 Subject: [PATCH] addAttachmentHelper(url,..) the `url` should be `id` --- dev/View/Popup/Compose.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index 2c68f240c..ae599a55e 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -1222,13 +1222,13 @@ export class ComposePopupView extends AbstractViewPopup { } /** - * @param {string} url + * @param {string} id * @param {string} name * @param {number} size * @returns {ComposeAttachmentModel} */ - addAttachmentHelper(url, name, size) { - const attachment = new ComposeAttachmentModel(url, name, size); + addAttachmentHelper(id, name, size) { + const attachment = new ComposeAttachmentModel(id, name, size); this.addAttachment(attachment, 1); return attachment; }