summaryrefslogtreecommitdiffstats
path: root/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-25 18:35:43 -0700
committerAndrew Godwin2022-11-25 18:35:43 -0700
commit95bad674b5b360baea58ebef481cfd9c151b7c3d (patch)
tree305b3c34d20ce921b6e674d1f543bc7fa8a9df78 /activities
parent1cf1f2e5430e1946b6f7520e4d339de82a392c21 (diff)
downloadtakahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.tar.gz
takahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.tar.bz2
takahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.zip
Needed to await adding a mention
Diffstat (limited to 'activities')
-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,
)