From 7e7366be1303c617a4c28a303b58cd8537e1d257 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 11 Sep 2020 11:11:53 -0400 Subject: [PATCH] fix: remove toolsVisible in post tools' menu [breaking] --- src/socket.io/posts/tools.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/socket.io/posts/tools.js b/src/socket.io/posts/tools.js index 4006fafe81..86eb42087e 100644 --- a/src/socket.io/posts/tools.js +++ b/src/socket.io/posts/tools.js @@ -49,7 +49,6 @@ module.exports = function (SocketPosts) { postData.display_change_owner_tools = results.isAdmin || results.isModerator; postData.display_ip_ban = (results.isAdmin || results.isGlobalMod) && !postData.selfPost; postData.display_history = results.history; - postData.toolsVisible = postData.tools.length || postData.display_moderator_tools; postData.flags = { flagId: parseInt(results.posts.flagId, 10) || null, can: results.canFlag.flag,