hide_followings was renamed to hide_followers in the FE, but never synced up in the BE

This was a dirty regex replace which worked on my server
This commit is contained in:
Mark Felder 2019-02-06 22:34:44 +00:00
commit 74518d0b60
9 changed files with 27 additions and 27 deletions

View file

@ -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_follows -> []
true -> followers
end