mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
refactor: tab rules
This commit is contained in:
@@ -94,7 +94,7 @@ postsAPI.edit = async function (caller, data) {
|
||||
]);
|
||||
|
||||
const uids = _.uniq(_.flatten(memberData).concat(String(caller.uid)));
|
||||
uids.forEach(uid => websockets.in(`uid_${uid}`).emit('event:post_edited', editResult));
|
||||
uids.forEach(uid => websockets.in(`uid_${uid}`).emit('event:post_edited', editResult));
|
||||
return returnData;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user