1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 08:55:07 +01:00

Merge branch 'preload-user-timelines' into 'develop'

Preload thread mutes/bookmarks in user_statuses

See merge request pleroma/pleroma!1563
This commit is contained in:
kaniini 2019-08-14 01:04:07 +00:00
commit 5c35d2f1d8

View File

@ -626,6 +626,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)