From: Maksim Date: Sun, 22 Dec 2019 17:58:54 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/twitter_api/views/remote_follow_view.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4c505bc615b0e698db4f6d16c3b1f0b159f30e02;p=akkoma Apply suggestion to lib/pleroma/web/twitter_api/views/remote_follow_view.ex --- diff --git a/lib/pleroma/web/twitter_api/views/remote_follow_view.ex b/lib/pleroma/web/twitter_api/views/remote_follow_view.ex index 8f1f21bce..fb6109906 100644 --- a/lib/pleroma/web/twitter_api/views/remote_follow_view.ex +++ b/lib/pleroma/web/twitter_api/views/remote_follow_view.ex @@ -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