mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
closes #6562
This commit is contained in:
@@ -150,7 +150,7 @@ module.exports = function (Topics) {
|
||||
post.display_post_menu = topicPrivileges.isAdminOrMod || (post.selfPost && !topicData.locked) || ((loggedIn || topicData.postSharing.length) && !post.deleted);
|
||||
post.ip = topicPrivileges.isAdminOrMod ? post.ip : undefined;
|
||||
|
||||
posts.modifyPostByPrivilege(post, topicPrivileges.isAdminOrMod);
|
||||
posts.modifyPostByPrivilege(post, topicPrivileges);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user