Fix like/boost remote post (#629)

pull/631/head
Henri Dickson 2023-08-07 11:15:13 -04:00 zatwierdzone przez GitHub
rodzic a69499c742
commit 4a9109271d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -166,11 +166,11 @@ class FanOutStates(StateGraph):
# Send it to the remote inbox # Send it to the remote inbox
try: try:
if interaction.type == interaction.Types.vote: if interaction.type == interaction.Types.vote:
body = interaction.to_ap() body = interaction.to_create_ap()
elif interaction.type == interaction.Types.pin: elif interaction.type == interaction.Types.pin:
body = interaction.to_add_ap() body = interaction.to_add_ap()
else: else:
body = interaction.to_create_ap() body = interaction.to_ap()
interaction.identity.signed_request( interaction.identity.signed_request(
method="post", method="post",
uri=( uri=(