From 4bd1bf2c5c550141848b98ec2c0598d45e81f587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 15 Mar 2021 17:55:42 -0400 Subject: [PATCH] https://github.com/NodeBB/NodeBB/issues/9398 dont show "flag this user" for guest posts --- templates/partials/topic/post-menu-list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/partials/topic/post-menu-list.tpl b/templates/partials/topic/post-menu-list.tpl index 9257e9e..77ea089 100644 --- a/templates/partials/topic/post-menu-list.tpl +++ b/templates/partials/topic/post-menu-list.tpl @@ -100,7 +100,7 @@
  • {{{ if !posts.flags.flagged }}}
  • [[topic:flag-post]]
  • -{{{ if !posts.selfPost}}} +{{{ if (!posts.selfPost && posts.uid) }}}
  • [[topic:flag-user]]
  • {{{ end }}} {{{ else }}}