mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 09:11:00 +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
|
ancestors + descendants, request.identity
|
||||||
)
|
)
|
||||||
return {
|
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": [
|
"descendants": [
|
||||||
p.to_mastodon_json(interactions=interactions) for p in descendants
|
p.to_mastodon_json(interactions=interactions) for p in descendants
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue