From c41981800601a13a1a5c9dde70098a6ae64d3515 Mon Sep 17 00:00:00 2001 From: CobriMediaJulien <56324041+CobriMediaJulien@users.noreply.github.com> Date: Sun, 15 Dec 2024 16:54:39 +0100 Subject: [PATCH] Update battachment.ts typo --- src/becca/entities/battachment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/becca/entities/battachment.ts b/src/becca/entities/battachment.ts index c8871a584..c6b8d7076 100644 --- a/src/becca/entities/battachment.ts +++ b/src/becca/entities/battachment.ts @@ -98,7 +98,7 @@ class BAttachment extends AbstractBeccaEntity { /** @returns true if the note has string content (not binary) */ hasStringContent(): boolean { - return this.type utils.isStringNote(this.type, this.mime); // here was !== undefined && utils.isStringNote(this.type, this.mime); I dont know why we need !=undefined. But it filters out canvas libary items + return utils.isStringNote(this.type, this.mime); // here was !== undefined && utils.isStringNote(this.type, this.mime); I dont know why we need !=undefined. But it filters out canvas libary items } isContentAvailable() {