From: Roger Braun Date: Fri, 23 Jun 2017 10:27:40 +0000 (+0200) Subject: use correct arity .post. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4ba6746820f3633cad91485d19100b120fef519b;p=akkoma use correct arity .post. --- diff --git a/lib/pleroma/web/salmon/salmon.ex b/lib/pleroma/web/salmon/salmon.ex index e2eff857f..3f1d58de0 100644 --- a/lib/pleroma/web/salmon/salmon.ex +++ b/lib/pleroma/web/salmon/salmon.ex @@ -137,7 +137,7 @@ defmodule Pleroma.Web.Salmon do defp send_to_user(_,_,_), do: nil - def publish(user, activity, poster \\ &@httpoison.post/3) + def publish(user, activity, poster \\ &@httpoison.post/4) def publish(%{info: %{"keys" => keys}} = user, activity, poster) do feed = ActivityRepresenter.to_simple_form(activity, user, true) |> ActivityRepresenter.wrap_with_entry