From 4288e2780b87e31f7055795332db4b99ea640f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Thu, 9 Oct 2025 15:16:02 +0200 Subject: [PATCH] Add changelog entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- changelog.d/replies-collection.add | 1 + lib/pleroma/web/activity_pub/views/object_view.ex | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 changelog.d/replies-collection.add diff --git a/changelog.d/replies-collection.add b/changelog.d/replies-collection.add new file mode 100644 index 000000000..9b7f8dc77 --- /dev/null +++ b/changelog.d/replies-collection.add @@ -0,0 +1 @@ +Provide full replies collection in ActivityPub objects \ No newline at end of file diff --git a/lib/pleroma/web/activity_pub/views/object_view.ex b/lib/pleroma/web/activity_pub/views/object_view.ex index 820d542a0..9619658fa 100644 --- a/lib/pleroma/web/activity_pub/views/object_view.ex +++ b/lib/pleroma/web/activity_pub/views/object_view.ex @@ -6,10 +6,10 @@ defmodule Pleroma.Web.ActivityPub.ObjectView do use Pleroma.Web, :view alias Pleroma.Activity alias Pleroma.Object - alias Pleroma.Web.ActivityPub.CollectionViewHelper - alias Pleroma.Web.ControllerHelper - alias Pleroma.Web.ActivityPub.Transmogrifier alias Pleroma.Web.ActivityPub.ActivityPub + alias Pleroma.Web.ActivityPub.CollectionViewHelper + alias Pleroma.Web.ActivityPub.Transmogrifier + alias Pleroma.Web.ControllerHelper def render("object.json", %{object: %Object{} = object}) do base = Pleroma.Web.ActivityPub.Utils.make_json_ld_header(object.data)