Skip to content
Snippets Groups Projects
Commit 4ba67468 authored by lain's avatar lain
Browse files

use correct arity .post.

parent 6a184115
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment