2019-12-20 06:34:14 -07:00
|
|
|
# Pleroma: A lightweight social networking server
|
2021-01-12 23:49:20 -07:00
|
|
|
# Copyright © 2017-2021 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-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
|