From: lain Date: Thu, 22 Feb 2018 07:24:18 +0000 (+0100) Subject: Add banner image to user json. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c443aec83d31d838c50fb888d585f5266091b09b;p=akkoma Add banner image to user json. --- diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index b3b02c4fb..b96ac7b27 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -45,6 +45,10 @@ defmodule Pleroma.Web.ActivityPub.UserView do "icon" => %{ "type" => "Image", "url" => User.avatar_url(user) + }, + "image" => %{ + "type" => "Image", + "url" => User.banner_url(user) } } end