diff options
author | rinpatch <rinpatch@sdf.org> | 2019-08-14 03:02:09 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-08-14 03:02:09 +0300 |
commit | 8202f1634a14037081cbef839e3fe528c6ca48b5 (patch) | |
tree | d371460c8989033b3ec9c2eecadc299b38e1b068 | |
parent | c3a54cc34daa971153508f269b3e701ca6eb08cd (diff) | |
download | pleroma-8202f1634a14037081cbef839e3fe528c6ca48b5.tar.gz |
Preload thread mutes/bookmarks in user_statuses
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 1 |
1 files changed, 1 insertions, 0 deletions
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) |