Apply suggestion to lib/pleroma/web/twitter_api/views/remote_follow_view.ex

This commit is contained in:
Maksim 2019-12-22 17:58:54 +00:00
parent c9a44ec4a6
commit 4c505bc615
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
use Pleroma.Web, :view
import Phoenix.HTML.Form
def avatar_url(user), do: Pleroma.User.avatar_url(user)
defdelegate avatar_url(user), to: Pleroma.User.avatar_url
end