From 0ecbafe5eb6c77651a5c149f331ed013d5ac75c1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Apr 2018 19:23:13 +0900 Subject: [PATCH] Add todos --- src/remote/activitypub/act/create.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/remote/activitypub/act/create.ts b/src/remote/activitypub/act/create.ts index 1b9bad8ff..d1eeacbc3 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);