From 8ea1fb9ce6f33a96e38b1d316ea1e72c4aa827cb Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sat, 28 Jan 2023 11:13:06 -0700 Subject: [PATCH] Fix emojis in profile fanout Refs #468 --- activities/models/fan_out.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/activities/models/fan_out.py b/activities/models/fan_out.py index a53f81e..e63509c 100644 --- a/activities/models/fan_out.py +++ b/activities/models/fan_out.py @@ -215,7 +215,9 @@ class FanOutStates(StateGraph): fan_out.identity.shared_inbox_uri or fan_out.identity.inbox_uri ), - body=canonicalise(fan_out.subject_identity.to_update_ap()), + body=canonicalise( + await sync_to_async(fan_out.subject_identity.to_update_ap)() + ), ) except httpx.RequestError: return