Skip to content

Commit c419818

Browse files
Update battachment.ts typo
1 parent d9d3613 commit c419818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/becca/entities/battachment.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class BAttachment extends AbstractBeccaEntity<BAttachment> {
9898

9999
/** @returns true if the note has string content (not binary) */
100100
hasStringContent(): boolean {
101-
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
101+
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
102102
}
103103

104104
isContentAvailable() {

0 commit comments

Comments
 (0)