Skip to content

Node.js based forum software built for the modern web

fix: use system pseudo-user for topic move call

Julian Lamdce334461ab8
diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js
index 6006a374ba..1c0b859d83 100644
--- a/src/activitypub/notes.js
+++ b/src/activitypub/notes.js
@@ -66,7 +66,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
if (options.cid && cid === -1) {
// Move topic
- await topics.tools.move(tid, { cid: options.cid, uid: 0 });
+ await topics.tools.move(tid, { cid: options.cid, uid: 'system' });
}
} else {
// mainPid ok to leave as-is