diff --git a/packages/backend/src/misc/renote.ts b/packages/backend/src/misc/renote.ts index e4b8c06e1..015c26d65 100644 --- a/packages/backend/src/misc/renote.ts +++ b/packages/backend/src/misc/renote.ts @@ -1,5 +1,5 @@ import { Note } from '@/models/entities/note.js'; export function isPureRenote(note: Note): boolean { - return note.renoteId != null && note.text == null && (renote.fileIds == null || renote.fileIds.length === 0) && !note.hasPoll; + return note.renoteId != null && note.text == null && (note.fileIds == null || note.fileIds.length === 0) && !note.hasPoll; }