fix: backfeed whole reply threads and nest them (v2.20.2)
Backfeed only read first-level replies (Threads /replies, GoToSocial direct replies, Bluesky depth 1) and skipped the owner's own replies, so conversations under crossposts lost everything after the first reply. - Threads /conversation, all GoToSocial descendants, Bluesky depth 10 - backfeed.thread_members keeps others' replies to our copy and any reply (ours included) to a kept reply; own replies are stored as notified - Migration 026: webmentions.parent_remote_id; replies render nested as comments of comments Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
952ca300c0
commit
bf6e0fdc0b
11 files changed
+283
-42
No files matched your search
@@ -30,7 +30,8 @@
|
||||
</a></span>
|
||||
{%- endmacro %}
|
||||
|
||||
{# A reply, shown as a comment #}
|
||||
{# A reply, shown as a comment; replies to it are nested inside, as
|
||||
comments of the comment (v2.20.2) #}
|
||||
{% macro reply(wm) %}
|
||||
<article class="webmention webmention-reply u-comment h-cite">
|
||||
<div class="webmention-author">{{ author_card(wm) }}</div>
|
||||
@@ -38,6 +39,11 @@
|
||||
<div class="e-content">{{ wm.content_snippet|safe }}</div>
|
||||
{% endif %}
|
||||
<a class="u-url webmention-date" href="{{ response_url(wm) }}">{{ response_time(wm) }}</a> {{ via(wm) }}
|
||||
{% if wm.children %}
|
||||
<div class="webmention-thread">
|
||||
{% for child in wm.children %}{{ reply(child) }}{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</article>
|
||||
{%- endmacro %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user