Fix lint
This commit is contained in:
parent
97a86bc273
commit
a8e3749320
3 changed files with 6 additions and 6 deletions
|
@ -5,6 +5,9 @@ class ActivityPub::Parser::StatusParser
|
|||
|
||||
NORMALIZED_LOCALE_NAMES = LanguagesHelper::SUPPORTED_LOCALES.keys.index_by(&:downcase).freeze
|
||||
|
||||
SCAN_SEARCHABILITY_RE = /\[searchability:(public|followers|reactors|private)\]/
|
||||
SCAN_SEARCHABILITY_FEDIBIRD_RE = /searchable_by_(all_users|followers_only|reacted_users_only|nobody)/
|
||||
|
||||
# @param [Hash] json
|
||||
# @param [Hash] options
|
||||
# @option options [String] :followers_collection
|
||||
|
@ -182,9 +185,6 @@ class ActivityPub::Parser::StatusParser
|
|||
%i(public unlisted).include?(visibility) ? :public : :limited
|
||||
end
|
||||
|
||||
SCAN_SEARCHABILITY_RE = /\[searchability:(public|followers|reactors|private)\]/
|
||||
SCAN_SEARCHABILITY_FEDIBIRD_RE = /searchable_by_(all_users|followers_only|reacted_users_only|nobody)/
|
||||
|
||||
def default_searchability_from_bio?
|
||||
note = @account.note
|
||||
return false if note.blank?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue