From 4a9109271d9b9e2fb745d0314788b00dc4692f35 Mon Sep 17 00:00:00 2001 From: Henri Dickson <90480431+alphatownsman@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:15:13 -0400 Subject: [PATCH] Fix like/boost remote post (#629) --- activities/models/fan_out.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activities/models/fan_out.py b/activities/models/fan_out.py index 0d5a72e..8230a9b 100644 --- a/activities/models/fan_out.py +++ b/activities/models/fan_out.py @@ -166,11 +166,11 @@ class FanOutStates(StateGraph): # Send it to the remote inbox try: if interaction.type == interaction.Types.vote: - body = interaction.to_ap() + body = interaction.to_create_ap() elif interaction.type == interaction.Types.pin: body = interaction.to_add_ap() else: - body = interaction.to_create_ap() + body = interaction.to_ap() interaction.identity.signed_request( method="post", uri=(