From 95bad674b5b360baea58ebef481cfd9c151b7c3d Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 25 Nov 2022 18:35:43 -0700 Subject: [PATCH] Needed to await adding a mention --- activities/models/fan_out.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activities/models/fan_out.py b/activities/models/fan_out.py index 3e5c4da..64df929 100644 --- a/activities/models/fan_out.py +++ b/activities/models/fan_out.py @@ -40,7 +40,7 @@ class FanOutStates(StateGraph): ) # We might have been mentioned if fan_out.identity.id in mentioned: - TimelineEvent.add_mentioned( + await sync_to_async(TimelineEvent.add_mentioned)( identity=fan_out.identity, post=post, )