Fix reply processing

This commit is contained in:
Thomas Sileo 2019-08-16 21:47:57 +02:00
parent 852ffc00c6
commit 27ec87a2ef

View file

@ -564,9 +564,9 @@ def task_process_reply() -> _Response:
save_reply(
new_reply,
{
**flag(MetaKey.THREAD_ROOT_PARENT, root_reply),
**flag(MetaKey.ACTOR, actor.to_dict(embed=True)),
**flag(MetaKey.ACTOR_HASH, _actor_hash(actor)),
MetaKey.THREAD_ROOT_PARENT.value: root_reply,
MetaKey.ACTOR.value: actor.to_dict(embed=True),
MetaKey.ACTOR_HASH.value: _actor_hash(actor),
},
)