Node.js based forum software built for the modern web
data.loggedIn for new posts
psychobunny7cc83902658e
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.jsindex 3af4945d51..6182b4c554 100644--- a/public/src/client/topic/posts.js+++ b/public/src/client/topic/posts.js@@ -21,6 +21,7 @@ define('forum/topic/posts', [return;}+ data.loggedIn = app.user.uid ? true : false;data.posts.forEach(function(post) {post.selfPost = !!app.user.uid && parseInt(post.uid, 10) === parseInt(app.user.uid, 10);post.display_moderator_tools = post.selfPost || ajaxify.data.isAdminOrMod;