projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request 'Change pleroma reference in priv/static/READ_THIS_BEFORE_TOUCHING...
[akkoma]
/
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 8f1f21bce44c419d0449c474fa7a1139499a19ee..bb24902a46b19adfb2b7be7dee9a87e60d2df14e 100644
(file)
--- a/
lib/pleroma/web/twitter_api/views/remote_follow_view.ex
+++ b/
lib/pleroma/web/twitter_api/views/remote_follow_view.ex
@@
-1,10
+1,15
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-20
19
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-20
21
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
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
use Pleroma.Web, :view
import Phoenix.HTML.Form
+ alias Pleroma.Web.Gettext
- def avatar_url(user), do: Pleroma.User.avatar_url(user)
+ def avatar_url(user) do
+ user
+ |> Pleroma.User.avatar_url()
+ |> Pleroma.Web.MediaProxy.url()
+ end
end
end