mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 11:01:20 +01:00
fix: call syncUserInboxes asyncronously
This commit is contained in:
@@ -268,8 +268,8 @@ module.exports = function (Topics) {
|
|||||||
Topics.addParentPosts([postData], uid),
|
Topics.addParentPosts([postData], uid),
|
||||||
Topics.syncBacklinks(postData),
|
Topics.syncBacklinks(postData),
|
||||||
Topics.markAsRead([tid], uid),
|
Topics.markAsRead([tid], uid),
|
||||||
activitypub.notes.syncUserInboxes(tid, uid),
|
|
||||||
]);
|
]);
|
||||||
|
activitypub.notes.syncUserInboxes(tid, uid);
|
||||||
|
|
||||||
// Returned data is a superset of post summary data
|
// Returned data is a superset of post summary data
|
||||||
postData.user = userInfo;
|
postData.user = userInfo;
|
||||||
|
|||||||
Reference in New Issue
Block a user