We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ca6df commit 00e4503Copy full SHA for 00e4503
1 file changed
src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js
@@ -96,9 +96,9 @@ const OutboxService = {
96
webId: actorUri
97
});
98
99
- // -- Persist Capability --
100
- // There might be a capability attached which should not be persisted
101
- // because other's could otherwise read it from the (public) outbox.
+ // -- Persist Activity --
+ // There might be a capability attached which cannot be persisted, if it has a non-resolvable id.
+ // So we won't persist it and re-attach it afterwards.
102
let { capability, ...activityToPersist } = activity;
103
104
activityUri = await ctx.call('activitypub.activity.post', {
0 commit comments