From: eal Date: Mon, 13 Aug 2018 13:11:48 +0000 (+0300) Subject: ActivityPub user view: include tag if present. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1ed1ff17a4281cdbd7743e12759143dcb6534db7;p=akkoma ActivityPub user view: include tag if present. --- diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index 41bfe5048..fdb2b8ea9 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -42,7 +42,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do "image" => %{ "type" => "Image", "url" => User.banner_url(user) - } + }, + "tag" => user.info["source_data"]["tag"] || [] } |> Map.merge(Utils.make_json_ld_header()) end