mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
closes #6562
This commit is contained in:
@@ -165,8 +165,8 @@ SocketPosts.getReplies = function (socket, pid, callback) {
|
||||
topics.addPostData(results.posts, socket.uid, next);
|
||||
},
|
||||
function (postData, next) {
|
||||
postData.forEach(function (postData) {
|
||||
posts.modifyPostByPrivilege(postData, postPrivileges.isAdminOrMod);
|
||||
postData.forEach(function (postData, index) {
|
||||
posts.modifyPostByPrivilege(postData, postPrivileges[index]);
|
||||
});
|
||||
next(null, postData);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user