activitypub: relay: chase selective public announce changes

This commit is contained in:
William Pitcock 2019-01-17 23:13:54 +00:00
parent 2479e88815
commit 8e9f1d5587
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def unfollow(target_instance) do
def publish(%Activity{data: %{"type" => "Create"}} = activity) do
with %User{} = user <- get_actor(),
%Object{} = object <- Object.normalize(activity.data["object"]["id"]) do
ActivityPub.announce(user, object)
ActivityPub.announce(user, object, nil, true, false)
else
e -> Logger.error("error: #{inspect(e)}")
end