logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/
commit: f2c612d4aeb1ef2f40503ecf163536667fe0c864
parent 4461cc984dfc895870c23d3fbe5f0f41a587f812
Author: mkljczk <me@mkljczk.pl>
Date:   Tue, 21 Jan 2025 13:03:35 +0000

Merge branch 'actor-published' into 'develop'

Include "published" in actor view

See merge request pleroma/pleroma!4312

Diffstat:

Achangelog.d/actor-published-date.add1+
Mlib/pleroma/web/activity_pub/views/user_view.ex3++-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/changelog.d/actor-published-date.add b/changelog.d/actor-published-date.add @@ -0,0 +1 @@ +Include "published" in actor view diff --git 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(