Fix in reply to link

This commit is contained in:
Thomas Sileo 2022-09-01 20:32:32 +02:00
parent 191ce39d14
commit b03daf1274

View file

@ -365,7 +365,7 @@
{% endif %}
{% if object.in_reply_to %}
<a href="{% if is_admin %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
<a href="{% if is_admin and object.is_from_inbox %}{{ url_for("get_lookup") }}?query={% endif %}{{ object.in_reply_to }}" title="{{ object.in_reply_to }}" class="in-reply-to" rel="nofollow">
in reply to {{ object.in_reply_to|truncate(64, True) }}
</a>
{% endif %}