diff --git a/fe_calckey/frontend/client/src/scripts-mag/mag-util.ts b/fe_calckey/frontend/client/src/scripts-mag/mag-util.ts index 7399c09..e46134a 100644 --- a/fe_calckey/frontend/client/src/scripts-mag/mag-util.ts +++ b/fe_calckey/frontend/client/src/scripts-mag/mag-util.ts @@ -128,9 +128,9 @@ export function magIsRenote( ): boolean { return ( magTransProperty(note, "renoted_note", "renote") != null && - note.text == null && + (note.text || null) === null && magTransProperty(note, "file_ids", "fileIds").length === 0 && - note.poll == null + (note.poll || null) === null ); }