1
0
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-06-05 21:59:23 +02:00

Proper mf2 for replies

This commit is contained in:
Thomas Sileo
2022-11-20 11:12:34 +01:00
parent d36102255f
commit 4c6eb51ae2
3 changed files with 11 additions and 5 deletions

View File

@ -856,6 +856,7 @@ def _merge_replies(
reply_tree_node.children = sorted(
reply_tree_node.children + webmention_replies,
key=lambda node: node.published_at,
reverse=True,
)
return reply_tree_node