Skip to content
Snippets Groups Projects
Commit ee2fa1a3 authored by kaniini's avatar kaniini
Browse files

activitypub: user view: remove totalInbox from user inbox view

It is not really feasible to quickly calculate the totalItems value and
it shouldn't be trusted anyway.
parent bc9e5e6b
Branches
No related tags found
No related merge requests found
......@@ -224,7 +224,6 @@ defmodule Pleroma.Web.ActivityPub.UserView do
"id" => "#{iri}?max_id=#{max_id}",
"type" => "OrderedCollectionPage",
"partOf" => iri,
"totalItems" => -1,
"orderedItems" => collection,
"next" => "#{iri}?max_id=#{min_id}"
}
......@@ -233,7 +232,6 @@ defmodule Pleroma.Web.ActivityPub.UserView do
%{
"id" => iri,
"type" => "OrderedCollection",
"totalItems" => -1,
"first" => page
}
|> Map.merge(Utils.make_json_ld_header())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment