mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
ActivityPub user view: include tag if present.
This commit is contained in:
parent
f9d13558c8
commit
1ed1ff17a4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue