14 lines
379 B
Elixir
14 lines
379 B
Elixir
# Pleroma: A lightweight social networking server
|
|
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
|
|
use Pleroma.Web, :view
|
|
import Phoenix.HTML.Form
|
|
|
|
def avatar_url(user) do
|
|
user
|
|
|> Pleroma.User.avatar_url()
|
|
|> Pleroma.Web.MediaProxy.url()
|
|
end
|
|
end
|