diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 7078eb2ce1..bd43aa8902 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -116,7 +116,7 @@ export async function createNote(value: any, resolver?: Resolver, silent = false : []; // リプライ - const reply = note.inReplyTo + const reply: INote = note.inReplyTo ? await resolveNote(note.inReplyTo, resolver).catch(e => { // 4xxの場合はリプライしてないことにする if (e.statusCode >= 400 && e.statusCode < 500) {