Needed to await adding a mention

pull/52/head
Andrew Godwin 2022-11-25 18:35:43 -07:00
rodzic 1cf1f2e543
commit 95bad674b5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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