Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
4ba67468
Commit
4ba67468
authored
Jun 23, 2017
by
lain
Browse files
use correct arity .post.
parent
6a184115
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/salmon/salmon.ex
View file @
4ba67468
...
...
@@ -137,7 +137,7 @@ defp send_to_user(%{info: %{"salmon" => salmon}}, feed, poster) 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment