Bugfix: message.attachments.hasVisible() undefined

This commit is contained in:
the-djmaze 2022-02-02 13:29:13 +01:00
parent e265a0f1c1
commit 08ea226dbe

View file

@ -88,7 +88,7 @@ const
// data.related = true;
message.attachments.push(attachment);
});
message.hasAttachments(message.attachments.hasVisible());
message.hasAttachments(message.attachments().hasVisible());
// result.headers;
// TODO: strip script tags and all other security that PHP also does
message.plain(result.text || '');