Add preference to hide following/followers lists (#7532)

* Add preference to hide following/followers lists

- Public pages
- ActivityPub collections (does not return pages but does give total)
- REST API (unless it's your own) (does not federate)

Fix #6901

* Add preference

* Add delegation

* Fix issue

* Fix issue
This commit is contained in:
Eugen Rochko
2018-05-18 02:26:51 +02:00
committed by GitHub
parent 919eef3098
commit 1e02dc8715
19 changed files with 58 additions and 9 deletions

View File

@ -7,4 +7,7 @@
= render 'accounts/header', account: @account
= render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:account)
- if @account.user_hides_network?
= render 'accounts/follow_grid_hidden'
- else
= render 'accounts/follow_grid', follows: @follows, accounts: @follows.map(&:account)