Small cleanup.
This commit is contained in:
parent
114ca9e069
commit
0574df273c
3 changed files with 9 additions and 3 deletions
|
|
@ -169,8 +169,11 @@ defmodule Pleroma.Formatter do
|
|||
subs ++
|
||||
Enum.map(links, fn {uuid, url} ->
|
||||
{:safe, link} = Phoenix.HTML.Link.link(url, to: url)
|
||||
link = link
|
||||
|> IO.iodata_to_binary
|
||||
|
||||
link =
|
||||
link
|
||||
|> IO.iodata_to_binary()
|
||||
|
||||
{uuid, link}
|
||||
end)
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@ defmodule Pleroma.Web.CommonAPI do
|
|||
additional: %{"cc" => cc}
|
||||
})
|
||||
|
||||
User.increase_note_count(user)
|
||||
res
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue