forked from FoundKeyGang/FoundKey
fix ReferenceError in renote.ts
This commit is contained in:
parent
646b8e08c0
commit
fbcea23ef6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { Note } from '@/models/entities/note.js';
|
import { Note } from '@/models/entities/note.js';
|
||||||
|
|
||||||
export function isPureRenote(note: Note): boolean {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue