Remove `whole_db` parameter everywhere, it's not used anymore
authorlain <lain@soykaf.club>
Tue, 28 Jan 2020 13:40:40 +0000 (14:40 +0100)
committerlain <lain@soykaf.club>
Tue, 28 Jan 2020 13:40:40 +0000 (14:40 +0100)
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/feed/feed_controller.ex

index 2e9d56ee50f48faec9d2493c64a5564e399be816..1ac67b618c84fc8675efcf591bb7fbb686ddcd87 100644 (file)
@@ -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()
index d0e23007df7610544587136b0a86a69aa130f6f3..acc0c3e6caf23d736ce3e93ae73dc2b7e3e5a110 100644 (file)
@@ -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"]))