commit: 4ba6746820f3633cad91485d19100b120fef519b
parent: 6a184115a2431727b5039c1c726a8afc5eef228c
Author: Roger Braun <roger@rogerbraun.net>
Date: Fri, 23 Jun 2017 12:27:40 +0200
use correct arity .post.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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