From: rinpatch Date: Wed, 14 Aug 2019 00:02:09 +0000 (+0300) Subject: Preload thread mutes/bookmarks in user_statuses X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8202f1634a14037081cbef839e3fe528c6ca48b5;p=akkoma Preload thread mutes/bookmarks in user_statuses --- diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 1a279a7df..44ff20af6 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -623,6 +623,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do params = params |> 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.info.pinned_activities)