Include "published" in actor view
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
1bebc900ed
commit
38b17933e1
2 changed files with 3 additions and 1 deletions
1
changelog.d/actor-published-date.add
Normal file
1
changelog.d/actor-published-date.add
Normal file
|
@ -0,0 +1 @@
|
|||
Include "published" in actor view
|
|
@ -127,7 +127,8 @@ defmodule Pleroma.Web.ActivityPub.UserView do
|
|||
"capabilities" => capabilities,
|
||||
"alsoKnownAs" => user.also_known_as,
|
||||
"vcard:bday" => birthday,
|
||||
"webfinger" => "acct:#{User.full_nickname(user)}"
|
||||
"webfinger" => "acct:#{User.full_nickname(user)}",
|
||||
"published" => Pleroma.Web.CommonAPI.Utils.to_masto_date(user.inserted_at)
|
||||
}
|
||||
|> Map.merge(
|
||||
maybe_make_image(
|
||||
|
|
Loading…
Add table
Reference in a new issue