From 7cf7725ef5717bdd8b7b1bfb338ae98fd350e27c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 11 Jul 2022 22:15:48 +0200 Subject: [PATCH] fix replying to modmail being broken --- files/templates/comments.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 1edf6466e1..c6ef8d0976 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -83,7 +83,7 @@ {% if render_replies %} - {% if level<9 or request.path == '/notifications' or request.headers.get("xhr") %} + {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} @@ -586,7 +586,7 @@ {% if render_replies %} - {% if level<9 or request.path == '/notifications' or request.headers.get("xhr") %} + {% if level<9 or request.path.startswith('/notifications') or request.headers.get("xhr") %}
{% for reply in replies %} {{single_comment(reply, level=level+1)}} @@ -599,7 +599,7 @@
{% endif %} - {% if request.path == '/notifications' and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %} + {% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %} Reply