diff --git a/src/becca/entities/bnote.ts b/src/becca/entities/bnote.ts index a007f5278..16461c35f 100644 --- a/src/becca/entities/bnote.ts +++ b/src/becca/entities/bnote.ts @@ -1644,10 +1644,7 @@ class BNote extends AbstractBeccaEntity { position }); - if (!content) { - throw new Error("Attempted to save an attachment with no content."); - } - + content = content || ""; attachment.setContent(content, {forceSave: true}); return attachment;