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 618ba2ba58fcf0e2cf34560fa367d13d082670fe..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
@@
-7,5
+7,9
@@
defmodule Pleroma.Web.TwitterAPI.RemoteFollowView do
import Phoenix.HTML.Form
alias Pleroma.Web.Gettext
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