From b02a9776069c940a839b59c6db54e5c58b16242e Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 1 Nov 2023 01:43:01 +0100 Subject: [PATCH] revert: previous commit --- packages/backend/src/core/activitypub/ApRendererService.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts index d0241c080f..8facc2536c 100644 --- a/packages/backend/src/core/activitypub/ApRendererService.ts +++ b/packages/backend/src/core/activitypub/ApRendererService.ts @@ -675,10 +675,6 @@ export class ApRendererService { const files = await getPromisedFiles(note.fileIds); - if (note.fileIds.length > 0) { - files.map(x => this.renderUpdate(this.renderDocument(x), { id: note.userId })); - } - const text = note.text ?? ''; let poll: MiPoll | null = null;