mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-13 10:51:03 +00:00
parent
e7c09d6457
commit
3c92aa9c2b
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,9 @@ def status_context(request, id: str):
|
|||
ancestors + descendants, request.identity
|
||||
)
|
||||
return {
|
||||
"ancestors": [p.to_mastodon_json(interactions=interactions) for p in ancestors],
|
||||
"ancestors": [
|
||||
p.to_mastodon_json(interactions=interactions) for p in reversed(ancestors)
|
||||
],
|
||||
"descendants": [
|
||||
p.to_mastodon_json(interactions=interactions) for p in descendants
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue