From 45d2e628dddeaa60114a7c1c19410853bfe34606 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 17 Feb 2026 10:45:29 -0500 Subject: [PATCH] fix: only call syncUserInboxes on post create if local uid creates post in cid -1 --- src/topics/create.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/topics/create.js b/src/topics/create.js index ac360abe6d..f1f6fd570e 100644 --- a/src/topics/create.js +++ b/src/topics/create.js @@ -269,7 +269,9 @@ module.exports = function (Topics) { Topics.syncBacklinks(postData), Topics.markAsRead([tid], uid), ]); - activitypub.notes.syncUserInboxes(tid, uid); + if (utils.isNumber(postOwner) && postData.category.cid === -1) { + activitypub.notes.syncUserInboxes(tid, uid); + } // Returned data is a superset of post summary data postData.user = userInfo;