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:
commit
5c35d2f1d8
@ -626,6 +626,7 @@ def fetch_user_activities(user, reading_user, params \\ %{}) do
|
|||||||
params =
|
params =
|
||||||
params
|
params
|
||||||
|> Map.put("type", ["Create", "Announce"])
|
|> Map.put("type", ["Create", "Announce"])
|
||||||
|
|> 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("whole_db", true)
|
||||||
|> Map.put("pinned_activity_ids", user.info.pinned_activities)
|
|> Map.put("pinned_activity_ids", user.info.pinned_activities)
|
||||||
|
Loading…
Reference in New Issue
Block a user