diff --git a/src/remote/activitypub/act/create.ts b/src/remote/activitypub/act/create.ts index 1b9bad8ff5..d1eeacbc38 100644 --- a/src/remote/activitypub/act/create.ts +++ b/src/remote/activitypub/act/create.ts @@ -71,6 +71,8 @@ async function createNote(resolver: Resolver, actor: IRemoteUser, note) { const media = []; if ('attachment' in note && note.attachment != null) { + // TODO: attachmentは必ずしもImageではない + // TODO: ループの中でawaitはすべきでない note.attachment.forEach(async media => { const created = await createImage(resolver, note.actor, media); media.push(created);