Split hide_network into hide_followers & hide_followings (fixed)

This commit is contained in:
Maxim Filippov 2019-02-03 21:24:09 +03:00
commit 16ce129e38
10 changed files with 89 additions and 45 deletions

View file

@ -30,7 +30,8 @@ defmodule Pleroma.User.Info do
field(:topic, :string, default: nil)
field(:hub, :string, default: nil)
field(:salmon, :string, default: nil)
field(:hide_network, :boolean, default: false)
field(:hide_followers, :boolean, default: false)
field(:hide_followings, :boolean, default: false)
field(:pinned_activities, {:array, :string}, default: [])
# Found in the wild
@ -143,7 +144,8 @@ defmodule Pleroma.User.Info do
:no_rich_text,
:default_scope,
:banner,
:hide_network,
:hide_followings,
:hide_followers,
:background
])
end