Skip to content

Node.js based forum software built for the modern web

removed some possibly antiquated privs code

psychobunny10b9919a496d
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js
index e91494dc38..42b248b6d4 100644
--- a/public/src/client/topic/posts.js
+++ b/public/src/client/topic/posts.js
@@ -174,8 +174,7 @@ define('forum/topic/posts', [
if (!privileges.move) {
postEl.find('.move, [component="post/move"]').remove();
}
-
- postEl.find('.reply, .quote').toggleClass('hidden', !$('.post_reply, [component="post/reply"]').length);
+
postEl.find('.chat, .flag, [component="user/chat"], [component="post/flag"]').toggleClass('hidden', isSelfPost || !app.user.uid);
}