diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 1bbcea2770..41046c163e 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -448,7 +448,7 @@ export class ApNoteService { const limit = promiseLimit(2); const filePromises = attachments - .filter(attach => toArray(attach.type).includes('Image')) + .filter(attach => typeof(attach.url) === 'string') .map(attach => ( limit(() => this.apImageService.resolveImage(actor, { ...attach,