mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-28 03:35:45 +01:00
Remove whole_db
parameter everywhere, it's not used anymore
This commit is contained in:
parent
dd5a24073f
commit
46915207b6
@ -728,7 +728,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||
params
|
||||
|> Map.put("user", reading_user)
|
||||
|> Map.put("actor_id", user.ap_id)
|
||||
|> Map.put("whole_db", true)
|
||||
|
||||
recipients =
|
||||
user_activities_recipients(%{
|
||||
@ -746,7 +745,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||
|> Map.put("type", ["Create", "Announce"])
|
||||
|> Map.put("user", reading_user)
|
||||
|> Map.put("actor_id", user.ap_id)
|
||||
|> Map.put("whole_db", true)
|
||||
|> Map.put("pinned_activity_ids", user.pinned_activities)
|
||||
|
||||
params =
|
||||
@ -773,7 +771,6 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||
params
|
||||
|> Map.put("type", ["Create", "Announce"])
|
||||
|> Map.put("instance", params["instance"])
|
||||
|> Map.put("whole_db", true)
|
||||
|
||||
fetch_activities([Pleroma.Constants.as_public()], params, :offset)
|
||||
|> Enum.reverse()
|
||||
|
@ -36,7 +36,6 @@ defmodule Pleroma.Web.Feed.FeedController do
|
||||
activities =
|
||||
%{
|
||||
"type" => ["Create"],
|
||||
"whole_db" => true,
|
||||
"actor_id" => user.ap_id
|
||||
}
|
||||
|> Map.merge(Map.take(params, ["max_id"]))
|
||||
|
Loading…
Reference in New Issue
Block a user