From 27ec87a2efd49b13588944d7ecdd6c8d7ccbe2a8 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Fri, 16 Aug 2019 21:47:57 +0200 Subject: [PATCH] Fix reply processing --- blueprints/tasks.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blueprints/tasks.py b/blueprints/tasks.py index 1457f29..836fee9 100644 --- a/blueprints/tasks.py +++ b/blueprints/tasks.py @@ -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), }, )