From ce4549c5247dd880ca5d5c518a30bfcc092cd946 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 30 Mar 2026 11:55:03 -0400 Subject: [PATCH] fix: do not plumb req.uid into notes.assert (breaks getParentChain) --- src/activitypub/inbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index c9dbf5192a..11598ea02d 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -53,7 +53,7 @@ inbox.create = async (req) => { cid = Array.from(cids)[0]; } - const asserted = await activitypub.notes.assert(req.uid || 0, object, { cid }); + const asserted = await activitypub.notes.assert(0, object, { cid }); if (asserted) { await activitypub.feps.announce(object.id, req.body); // api.activitypub.add(req, { pid: object.id }); @@ -461,7 +461,7 @@ inbox.announce = async (req) => { return; } - const assertion = await activitypub.notes.assert(req.uid || 0, pid, { cid, skipChecks: true }); + const assertion = await activitypub.notes.assert(0, pid, { cid, skipChecks: true }); if (!assertion) { return; }