Skip to content

Node.js based forum software built for the modern web

fix: inability to directly post to a nodebb category from the fediverse

Julian Lam55ab85ac0df1
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,