mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 18:17:55 +00:00
Add banner image to user json.
This commit is contained in:
parent
37e406ae36
commit
c443aec83d
|
@ -45,6 +45,10 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
||||||
"icon" => %{
|
"icon" => %{
|
||||||
"type" => "Image",
|
"type" => "Image",
|
||||||
"url" => User.avatar_url(user)
|
"url" => User.avatar_url(user)
|
||||||
|
},
|
||||||
|
"image" => %{
|
||||||
|
"type" => "Image",
|
||||||
|
"url" => User.banner_url(user)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue