Fix account searchability nil error
This commit is contained in:
parent
6f6508d275
commit
78b7dc258f
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
||||||
|
|
||||||
def searchability_from_audience
|
def searchability_from_audience
|
||||||
if audience_searchable_by.nil?
|
if audience_searchable_by.nil?
|
||||||
nil
|
:private
|
||||||
elsif audience_searchable_by.any? { |uri| ActivityPub::TagManager.instance.public_collection?(uri) }
|
elsif audience_searchable_by.any? { |uri| ActivityPub::TagManager.instance.public_collection?(uri) }
|
||||||
:public
|
:public
|
||||||
elsif audience_searchable_by.include?(@account.followers_url)
|
elsif audience_searchable_by.include?(@account.followers_url)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue