aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/mastodon_api
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2019-01-28 21:31:08 +0300
committerMaxim Filippov <colixer@gmail.com>2019-01-28 21:40:08 +0300
commit50d6183893166b51a400659a38dd657ac84603d6 (patch)
treefa0bcd842ce665917eaf4195b1ea92ebde8614af /lib/pleroma/web/mastodon_api
parent009273fd6e4d14601ebd9f02f2fd797716f774ed (diff)
downloadpleroma-50d6183893166b51a400659a38dd657ac84603d6.tar.gz
Split hide_network into hide_followers & hide_followings
Diffstat (limited to 'lib/pleroma/web/mastodon_api')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api_controller.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
index a366a149f..3364b2ac2 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
@@ -583,7 +583,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
followers =
cond do
for_user && user.id == for_user.id -> followers
- user.info.hide_network -> []
+ user.info.hide_followers -> []
true -> followers
end
@@ -599,7 +599,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
followers =
cond do
for_user && user.id == for_user.id -> followers
- user.info.hide_network -> []
+ user.info.hide_followings -> []
true -> followers
end