2019-12-20 06:34:14 -07:00
|
|
|
# Pleroma: A lightweight social networking server
|
2023-01-01 04:11:47 -07:00
|
|
|
# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
|
2019-12-20 06:34:14 -07: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 16:42:25 -07:00
|
|
|
alias Pleroma.Web.Gettext
|
2019-12-20 06:34:14 -07:00
|
|
|
|
2022-07-09 22:10:35 -06:00
|
|
|
def avatar_url(user) do
|
|
|
|
user
|
|
|
|
|> Pleroma.User.avatar_url()
|
|
|
|
|> Pleroma.Web.MediaProxy.url()
|
|
|
|
end
|
2019-12-20 06:34:14 -07:00
|
|
|
end
|