use correct arity .post.
authorRoger Braun <roger@rogerbraun.net>
Fri, 23 Jun 2017 10:27:40 +0000 (12:27 +0200)
committerRoger Braun <roger@rogerbraun.net>
Fri, 23 Jun 2017 10:27:40 +0000 (12:27 +0200)
lib/pleroma/web/salmon/salmon.ex

index e2eff857fa8cd33e92d521a94ce1c1afb2168f18..3f1d58de023832b1881b9d410f7672d311657a84 100644 (file)
@@ -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