aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/user.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-11-12 18:36:50 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-11-12 18:45:28 +0700
commite6d7e27bd603806e96dfc2774f90cadb3cf73a8c (patch)
tree96b9c5de9bc8c43ee3bcd1e449bb19cec950a6e6 /lib/pleroma/user.ex
parent61fc739ab8917ccb5a12d6ab6db6130dc231990b (diff)
downloadpleroma-e6d7e27bd603806e96dfc2774f90cadb3cf73a8c.tar.gz
Add `allow_following_move` setting to User
Diffstat (limited to 'lib/pleroma/user.ex')
-rw-r--r--lib/pleroma/user.ex3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex
index 8715b37de..d40f6ed08 100644
--- a/lib/pleroma/user.ex
+++ b/lib/pleroma/user.ex
@@ -104,6 +104,7 @@ defmodule Pleroma.User do
field(:raw_fields, {:array, :map}, default: [])
field(:discoverable, :boolean, default: false)
field(:invisible, :boolean, default: false)
+ field(:allow_following_move, :boolean, default: true)
field(:skip_thread_containment, :boolean, default: false)
field(:also_known_as, {:array, :string}, default: [])
@@ -314,6 +315,7 @@ defmodule Pleroma.User do
:hide_followers_count,
:hide_follows_count,
:hide_favorites,
+ :allow_following_move,
:background,
:show_role,
:skip_thread_containment,
@@ -359,6 +361,7 @@ defmodule Pleroma.User do
:hide_follows,
:fields,
:hide_followers,
+ :allow_following_move,
:discoverable,
:hide_followers_count,
:hide_follows_count,