From d88c1831126a2ccd6afdbb164744e18fa239f6f4 Mon Sep 17 00:00:00 2001 From: djmaze Date: Fri, 18 Sep 2020 00:33:43 +0200 Subject: [PATCH] Bugfix: broken message.attachments in compose window --- dev/View/Popup/Compose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/View/Popup/Compose.js b/dev/View/Popup/Compose.js index f83662803..5a0ac588b 100644 --- a/dev/View/Popup/Compose.js +++ b/dev/View/Popup/Compose.js @@ -1373,7 +1373,7 @@ class ComposePopupView extends AbstractViewNext { if (ComposeType.ForwardAsAttachment === type) { this.addMessageAsAttachment(message); } else { - message.attachments.forEach(item => { + message.attachments().forEach(item => { let add = false; switch (type) { case ComposeType.Reply: