ActivityPub User view: Following/Followers refactoring
authorrinpatch <rinpatch@sdf.org>
Fri, 12 Jul 2019 16:41:05 +0000 (19:41 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 12 Jul 2019 16:41:55 +0000 (19:41 +0300)
commit1f6ac7680d1ae07be7c7dfd81a8cec2ba52f1c82
tree292a04c3b16a380dad8510b6ef1f3bc44d9444c9
parent27ed260eed51798a20608b1c062d32bfc7b6cdc4
ActivityPub User view: Following/Followers refactoring

- Render the collection items if the user requesting == the user
rendered
- Do not render the first page if hide_{followers,follows} is set, just
give the URI to it
lib/pleroma/web/activity_pub/views/user_view.ex
test/web/activity_pub/activity_pub_controller_test.exs