Revert "Merge branch 'feature/split-hide-network' into 'develop'"

This reverts merge request !733
This commit is contained in:
kaniini 2019-02-01 20:22:58 +00:00
commit 486749064f
10 changed files with 45 additions and 88 deletions

View file

@ -605,7 +605,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
followers =
cond do
for_user && user.id == for_user.id -> followers
user.info.hide_followers -> []
user.info.hide_network -> []
true -> followers
end
@ -621,7 +621,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
followers =
cond do
for_user && user.id == for_user.id -> followers
user.info.hide_followings -> []
user.info.hide_network -> []
true -> followers
end