summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activities/models/fan_out.py2
1 files changed, 1 insertions, 1 deletions
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,
)