Needed to await adding a mention

This commit is contained in:
Andrew Godwin 2022-11-25 18:35:43 -07:00
parent 1cf1f2e543
commit 95bad674b5

View File

@ -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,
)