Try remove debug logs
This commit is contained in:
parent
ec50b2aec5
commit
ad76ee714c
1 changed files with 1 additions and 5 deletions
|
@ -457,21 +457,17 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
if searchability.nil?
|
||||
note = @account&.note
|
||||
return nil unless note.present?
|
||||
p '======================== DEBUG ' + note
|
||||
|
||||
searchability_bio = note.scan(SCAN_SEARCHABILITY_RE).first
|
||||
return nil unless searchability_bio
|
||||
p '======================== DEBUG ' + searchability_bio.to_s
|
||||
|
||||
searchability = searchability_bio[1]
|
||||
searchability = searchability_bio[0]
|
||||
return nil if searchability.nil?
|
||||
p '======================== DEBUG ' + searchability
|
||||
|
||||
searchability = :public if searchability == 'public'
|
||||
searchability = :unlisted if searchability == 'followers'
|
||||
searchability = :direct if searchability == 'private'
|
||||
searchability = :private if searchability == 'reactors'
|
||||
p '======================== DEBUG ' + searchability.to_s
|
||||
end
|
||||
|
||||
visibility = visibility_from_audience_with_silence
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue