forked from AkkomaGang/akkoma
Remove whole_db
parameter everywhere, it's not used anymore
This commit is contained in:
parent
dd5a24073f
commit
46915207b6
2 changed files with 0 additions and 4 deletions
|
@ -728,7 +728,6 @@ def fetch_user_abstract_activities(user, reading_user, params \\ %{}) do
|
||||||
params
|
params
|
||||||
|> Map.put("user", reading_user)
|
|> Map.put("user", reading_user)
|
||||||
|> Map.put("actor_id", user.ap_id)
|
|> Map.put("actor_id", user.ap_id)
|
||||||
|> Map.put("whole_db", true)
|
|
||||||
|
|
||||||
recipients =
|
recipients =
|
||||||
user_activities_recipients(%{
|
user_activities_recipients(%{
|
||||||
|
@ -746,7 +745,6 @@ def fetch_user_activities(user, reading_user, params \\ %{}) do
|
||||||
|> Map.put("type", ["Create", "Announce"])
|
|> Map.put("type", ["Create", "Announce"])
|
||||||
|> Map.put("user", reading_user)
|
|> Map.put("user", reading_user)
|
||||||
|> Map.put("actor_id", user.ap_id)
|
|> Map.put("actor_id", user.ap_id)
|
||||||
|> Map.put("whole_db", true)
|
|
||||||
|> Map.put("pinned_activity_ids", user.pinned_activities)
|
|> Map.put("pinned_activity_ids", user.pinned_activities)
|
||||||
|
|
||||||
params =
|
params =
|
||||||
|
@ -773,7 +771,6 @@ def fetch_instance_activities(params) do
|
||||||
params
|
params
|
||||||
|> Map.put("type", ["Create", "Announce"])
|
|> Map.put("type", ["Create", "Announce"])
|
||||||
|> Map.put("instance", params["instance"])
|
|> Map.put("instance", params["instance"])
|
||||||
|> Map.put("whole_db", true)
|
|
||||||
|
|
||||||
fetch_activities([Pleroma.Constants.as_public()], params, :offset)
|
fetch_activities([Pleroma.Constants.as_public()], params, :offset)
|
||||||
|> Enum.reverse()
|
|> Enum.reverse()
|
||||||
|
|
|
@ -36,7 +36,6 @@ def feed(conn, %{"nickname" => nickname} = params) do
|
||||||
activities =
|
activities =
|
||||||
%{
|
%{
|
||||||
"type" => ["Create"],
|
"type" => ["Create"],
|
||||||
"whole_db" => true,
|
|
||||||
"actor_id" => user.ap_id
|
"actor_id" => user.ap_id
|
||||||
}
|
}
|
||||||
|> Map.merge(Map.take(params, ["max_id"]))
|
|> Map.merge(Map.take(params, ["max_id"]))
|
||||||
|
|
Loading…
Reference in a new issue