diff options
Diffstat (limited to 'packages/misskey-js/src/note.ts')
| -rw-r--r-- | packages/misskey-js/src/note.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/misskey-js/src/note.ts b/packages/misskey-js/src/note.ts index 5c8298c7e4..c1c0f38a71 100644 --- a/packages/misskey-js/src/note.ts +++ b/packages/misskey-js/src/note.ts @@ -2,8 +2,8 @@ import type { Note, PureRenote } from './entities.js'; export function isPureRenote(note: Note): note is PureRenote { return ( - note.renote != null && - note.reply == null && + note.renoteId != null && + note.replyId == null && note.text == null && note.cw == null && (note.fileIds == null || note.fileIds.length === 0) && |