From 9dbed8fb3e6d77a0b3ab768e684ae87862787387 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 22 Nov 2024 12:31:14 +0000 Subject: [PATCH] maybe improve note validation on update? --- packages/backend/src/core/activitypub/models/ApNoteService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/activitypub/models/ApNoteService.ts b/packages/backend/src/core/activitypub/models/ApNoteService.ts index 7ca588aae2..48538a7c26 100644 --- a/packages/backend/src/core/activitypub/models/ApNoteService.ts +++ b/packages/backend/src/core/activitypub/models/ApNoteService.ts @@ -393,7 +393,7 @@ export class ApNoteService { const object = await resolver.resolve(value); const entryUri = getApId(value); - const err = this.validateNote(object, entryUri); + const err = this.validateNote(object, entryUri, actor, user, UpdatedNote); if (err) { this.logger.error(err.message, { resolver: { history: resolver.getHistory() },