This commit is contained in:
Julian Lam
2018-06-08 16:01:11 -04:00
parent a37dc1856f
commit cb3b2bd27b
10 changed files with 42 additions and 9 deletions

View File

@@ -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);
}
});
};