From d9cc45e373dc29a697a85db31dc39ef3f958bdd5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 4 Aug 2023 15:44:25 +0300 Subject: [PATCH] dont show the button to mute myself --- files/templates/comments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index e0220b71f..538ddc54f 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -536,7 +536,7 @@ {% if (request.path.startswith('/notifications') or request.path == '/search/messages') and c.level == 1 and c.sentto and not c.parent_post and c.author_id != AUTOJANNY_ID %} - {% if (v and v.admin_level >= PERMS['USER_BAN']) and (c.sentto == MODMAIL_ID) %} + {% if c.sentto == MODMAIL_ID and v and v.id != c.author_id and v.admin_level >= PERMS['USER_BAN'] %} {% endif %}