fix: issue where initial quickcreate post wouldn't go to the right cid

This commit is contained in:
Julian Lam
2026-03-17 12:11:24 -04:00
parent 27b0fbe685
commit 35c03e5c8e
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ define('forum/world', [
quickreply.init({
route: '/topics',
body: {
cid: ajaxify.data.cid,
cid: config.activitypub.worldDefaultCid || ajaxify.data.cid,
},
});

View File

@@ -103,6 +103,7 @@ apiController.loadConfig = async function (req) {
},
activitypub: {
probe: meta.config.activitypubEnabled && meta.config.activitypubProbe,
worldDefaultCid: meta.config.activitypubWorldDefaultCid,
},
};