diff options
author | Andrew Godwin | 2022-11-25 18:35:43 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-25 18:35:43 -0700 |
commit | 95bad674b5b360baea58ebef481cfd9c151b7c3d (patch) | |
tree | 305b3c34d20ce921b6e674d1f543bc7fa8a9df78 | |
parent | 1cf1f2e5430e1946b6f7520e4d339de82a392c21 (diff) | |
download | takahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.tar.gz takahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.tar.bz2 takahe-95bad674b5b360baea58ebef481cfd9c151b7c3d.zip |
Needed to await adding a mention
-rw-r--r-- | activities/models/fan_out.py | 2 |
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, ) |