mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 05:26:44 +02:00
fix: issue where initial quickcreate post wouldn't go to the right cid
This commit is contained in:
@@ -14,7 +14,7 @@ define('forum/world', [
|
|||||||
quickreply.init({
|
quickreply.init({
|
||||||
route: '/topics',
|
route: '/topics',
|
||||||
body: {
|
body: {
|
||||||
cid: ajaxify.data.cid,
|
cid: config.activitypub.worldDefaultCid || ajaxify.data.cid,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ apiController.loadConfig = async function (req) {
|
|||||||
},
|
},
|
||||||
activitypub: {
|
activitypub: {
|
||||||
probe: meta.config.activitypubEnabled && meta.config.activitypubProbe,
|
probe: meta.config.activitypubEnabled && meta.config.activitypubProbe,
|
||||||
|
worldDefaultCid: meta.config.activitypubWorldDefaultCid,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user