2019-12-20 13:34:14 +00:00
|
|
|
# Pleroma: A lightweight social networking server
|
2022-02-26 06:11:42 +00:00
|
|
|
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
|
2019-12-20 13:34:14 +00:00
|
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
|
|
|
|
use Pleroma.Web, :view
|
|
|
|
import Phoenix.HTML.Form
|
2022-02-21 23:42:25 +00:00
|
|
|
alias Pleroma.Web.Gettext
|
2019-12-20 13:34:14 +00:00
|
|
|
|
2022-07-10 04:10:35 +00:00
|
|
|
def avatar_url(user) do
|
|
|
|
user
|
|
|
|
|> Pleroma.User.avatar_url()
|
|
|
|
|> Pleroma.Web.MediaProxy.url()
|
|
|
|
end
|
2019-12-20 13:34:14 +00:00
|
|
|
end
|