diff options
author | lain <lain@soykaf.club> | 2021-02-28 16:17:34 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2021-02-28 16:17:34 +0000 |
commit | e6a14e1cd10a52450eaf3d1ba258eac4042d82a9 (patch) | |
tree | 79c9920f4b01dc45a7292efcdaf9e97c7391a373 /lib/pleroma/user.ex | |
parent | d0823d7f1e95c91a53545fae9299e5bcc6eaf758 (diff) | |
parent | 0faf8dbef8f0d77fdd42b36ade4d55c42f0ccc8c (diff) |
Merge branch 'feat/client_app_details' into 'develop'
Support application field
See merge request pleroma/pleroma!3311
Diffstat (limited to 'lib/pleroma/user.ex')
-rw-r--r-- | lib/pleroma/user.ex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 51f5bc8ea..9942617d8 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -147,6 +147,7 @@ defmodule Pleroma.User do field(:shared_inbox, :string) field(:accepts_chat_messages, :boolean, default: nil) field(:last_active_at, :naive_datetime) + field(:disclose_client, :boolean, default: true) embeds_one( :notification_settings, @@ -513,7 +514,8 @@ defmodule Pleroma.User do :pleroma_settings_store, :is_discoverable, :actor_type, - :accepts_chat_messages + :accepts_chat_messages, + :disclose_client ] ) |> unique_constraint(:nickname) |