diff options
author | Hakaba Hitoyo <hakabahitoyo@yahoo.co.jp> | 2019-12-10 13:19:26 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-12-10 13:19:26 +0000 |
commit | 701815e64c35160d29e418724c29cbe2d8b4024d (patch) | |
tree | 5772b66eb90fc3f9d1cd7a2d6a3a9896c382d40b /lib/pleroma/user.ex | |
parent | 99623b4eca8ad4af0b8e7adc9dd4765ba2922c8b (diff) | |
download | pleroma-701815e64c35160d29e418724c29cbe2d8b4024d.tar.gz |
[ActivityPub] Configurable ActivityPub actor type
Diffstat (limited to 'lib/pleroma/user.ex')
-rw-r--r-- | lib/pleroma/user.ex | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index e2afc6de8..694f1f110 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -127,6 +127,7 @@ defmodule Pleroma.User do field(:invisible, :boolean, default: false) field(:allow_following_move, :boolean, default: true) field(:skip_thread_containment, :boolean, default: false) + field(:actor_type, :string, default: "Person") field(:also_known_as, {:array, :string}, default: []) embeds_one( @@ -346,6 +347,7 @@ defmodule Pleroma.User do :following_count, :discoverable, :invisible, + :actor_type, :also_known_as ] ) @@ -396,6 +398,7 @@ defmodule Pleroma.User do :raw_fields, :pleroma_settings_store, :discoverable, + :actor_type, :also_known_as ] ) @@ -438,6 +441,7 @@ defmodule Pleroma.User do :discoverable, :hide_followers_count, :hide_follows_count, + :actor_type, :also_known_as ] ) |