diff options
author | mkljczk <git@mkljczk.pl> | 2025-01-19 16:26:46 +0100 |
---|---|---|
committer | mkljczk <git@mkljczk.pl> | 2025-01-19 16:26:46 +0100 |
commit | 38b17933e160beb5923283786ca829af1d6b4036 (patch) | |
tree | 93b8c4ae597255c93a7dc7a1ad0fac1b2354850f /lib | |
parent | 1bebc900ed836fcdb3d651a8d09476ac0f9e349e (diff) | |
download | pleroma-38b17933e160beb5923283786ca829af1d6b4036.tar.gz pleroma-38b17933e160beb5923283786ca829af1d6b4036.zip |
Include "published" in actor view
Signed-off-by: mkljczk <git@mkljczk.pl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/views/user_view.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index cd485ed64..61975387b 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -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( |