mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix reply processing
This commit is contained in:
parent
852ffc00c6
commit
27ec87a2ef
1 changed files with 3 additions and 3 deletions
|
@ -564,9 +564,9 @@ def task_process_reply() -> _Response:
|
||||||
save_reply(
|
save_reply(
|
||||||
new_reply,
|
new_reply,
|
||||||
{
|
{
|
||||||
**flag(MetaKey.THREAD_ROOT_PARENT, root_reply),
|
MetaKey.THREAD_ROOT_PARENT.value: root_reply,
|
||||||
**flag(MetaKey.ACTOR, actor.to_dict(embed=True)),
|
MetaKey.ACTOR.value: actor.to_dict(embed=True),
|
||||||
**flag(MetaKey.ACTOR_HASH, _actor_hash(actor)),
|
MetaKey.ACTOR_HASH.value: _actor_hash(actor),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue