diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-06-23 12:27:40 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-06-23 12:27:40 +0200 |
commit | 4ba6746820f3633cad91485d19100b120fef519b (patch) | |
tree | a0939665d7ae37daba4f08a733aca12a84e037d4 | |
parent | 6a184115a2431727b5039c1c726a8afc5eef228c (diff) | |
download | pleroma-4ba6746820f3633cad91485d19100b120fef519b.tar.gz |
use correct arity .post.
-rw-r--r-- | lib/pleroma/web/salmon/salmon.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |