* #609 ローカルユーザー設定から購読許可を削除 * Fix test * Fix test
This commit is contained in:
parent
ec60b68608
commit
0c37295624
16 changed files with 34 additions and 146 deletions
|
@ -7,14 +7,14 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
|||
context :security
|
||||
|
||||
context_extensions :manually_approves_followers, :featured, :also_known_as,
|
||||
:moved_to, :property_value, :discoverable, :olm, :suspended, :searchable_by, :subscribable_by,
|
||||
:moved_to, :property_value, :discoverable, :olm, :suspended, :searchable_by,
|
||||
:other_setting, :memorial, :indexable
|
||||
|
||||
attributes :id, :type, :following, :followers,
|
||||
:inbox, :outbox, :featured, :featured_tags,
|
||||
:preferred_username, :name, :summary,
|
||||
:url, :manually_approves_followers,
|
||||
:discoverable, :indexable, :published, :memorial, :searchable_by, :subscribable_by, :other_setting
|
||||
:discoverable, :indexable, :published, :memorial, :searchable_by, :other_setting
|
||||
|
||||
has_one :public_key, serializer: ActivityPub::PublicKeySerializer
|
||||
|
||||
|
@ -179,10 +179,6 @@ class ActivityPub::ActorSerializer < ActivityPub::Serializer
|
|||
ActivityPub::TagManager.instance.account_searchable_by(object)
|
||||
end
|
||||
|
||||
def subscribable_by
|
||||
ActivityPub::TagManager.instance.subscribable_by(object)
|
||||
end
|
||||
|
||||
def other_setting
|
||||
config = object.public_settings
|
||||
config.map do |k, v|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue