From 36bc93cfda275464e5afcd27d7baea98572a365f Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 1 Sep 2019 14:28:50 +0200 Subject: [PATCH] Fix the thread button --- templates/utils.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/utils.html b/templates/utils.html index ed49404..32683fa 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -342,9 +342,11 @@ self reply {% endif %} +{% if session.logged_in and obj.inReplyTo and not meta.count_reply and not perma %} +thread +{% endif %} + {% if meta.object_visibility | visibility_is_public %} -{% if obj.inReplyTo and not meta.count_reply and not perma %} -thread{% endif %} {% if obj | url_or_id | get_url | is_from_outbox %} permalink {% else %}