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 ac3f15eec356156aeb2bd398b7a40cfb9c534285..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
@@
-5,6
+5,11
@@
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
use Pleroma.Web, :view
import Phoenix.HTML.Form
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
use Pleroma.Web, :view
import Phoenix.HTML.Form
+ alias Pleroma.Web.Gettext
- defdelegate avatar_url(user), to: Pleroma.User
+ def avatar_url(user) do
+ user
+ |> Pleroma.User.avatar_url()
+ |> Pleroma.Web.MediaProxy.url()
+ end
end
end