From 5326951e8a3fab5e2e681d8352f196762d4f444e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 25 Aug 2021 23:23:08 -0400 Subject: [PATCH] Fix using incorrect ID for Create activities --- lib/clacks/user_actions_helper.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clacks/user_actions_helper.ex b/lib/clacks/user_actions_helper.ex index 653462d..4eda348 100644 --- a/lib/clacks/user_actions_helper.ex +++ b/lib/clacks/user_actions_helper.ex @@ -35,7 +35,7 @@ defmodule Clacks.UserActionsHelper do note_changeset = Object.changeset_for_creating(note) {:ok, _object} = Repo.insert(note_changeset) - %{"id" => create_ap_id} = create = ActivityPub.internal_create(note, author.actor.ap_id) + %{"id" => create_ap_id} = create = ActivityPub.internal_create(note) case ActivityPub.Helper.save_and_federate(create, author.actor) do {:ok, activity} ->