From d1620eb1e384d0151ba641078b670d650ba47f1c Mon Sep 17 00:00:00 2001 From: srosset81 Date: Wed, 14 Aug 2024 12:30:35 +0200 Subject: [PATCH] activitypub.outbox.post: filter out username from activity --- .../activitypub/services/activitypub/subservices/outbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js b/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js index cbe2456b9..9100b9e34 100644 --- a/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js +++ b/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js @@ -27,7 +27,7 @@ const OutboxService = { }, actions: { async post(ctx) { - let { collectionUri, ...activity } = ctx.params; + let { collectionUri, username, ...activity } = ctx.params; const collectionExists = await ctx.call('activitypub.collection.exist', { resourceUri: collectionUri }); if (!collectionExists) {