diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 0e0bbba09e..1bbcea2770 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -443,11 +443,12 @@ export class ApNoteService { // 添付ファイル const attachments = toArray(note.attachment); if (note.image) - attachments.push(note.image); - + for (const image of toArray(note.image)) + attachments.push(image); + const limit = promiseLimit(2); const filePromises = attachments - .filter(attach => toArray(attach.type)?.includes('Image')) + .filter(attach => toArray(attach.type).includes('Image')) .map(attach => ( limit(() => this.apImageService.resolveImage(actor, { ...attach,