add option skip_thread_containment

This commit is contained in:
Maksim Pechnikov 2019-06-03 16:04:39 +03:00
commit 080e1aa70e
7 changed files with 150 additions and 12 deletions

View file

@ -49,6 +49,8 @@ defmodule Pleroma.User.Info do
default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true}
)
field(:skip_thread_containment, :boolean, default: false)
# Found in the wild
# ap_id -> Where is this used?
# bio -> Where is this used?
@ -208,7 +210,8 @@ defmodule Pleroma.User.Info do
:hide_followers,
:hide_favorites,
:background,
:show_role
:show_role,
:skip_thread_containment
])
end