From 55ab85ac0df1f7cf42c074fdbe2bf45fb3b06b8a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 18 Nov 2024 14:23:59 -0500 Subject: [PATCH] fix: inability to directly post to a nodebb category from the fediverse --- src/activitypub/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js index cfe0b1db9e..cb2a7800c9 100644 --- a/src/activitypub/notes.js +++ b/src/activitypub/notes.js @@ -173,7 +173,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => { topics.post({ tid, uid: authorId, - cid, + cid: options.cid || cid, pid: mainPid, title, timestamp,