Bugfix: broken message.attachments in compose window

This commit is contained in:
djmaze 2020-09-18 00:33:43 +02:00
parent 970e9d7d7d
commit d88c183112

View file

@ -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: