Update app/lib/activitypub/tag_manager.rb

Co-authored-by: Matt Jankowski <matt@jankowski.online>
This commit is contained in:
Nick Schonning 2024-12-15 19:23:55 -05:00 committed by GitHub
parent b5d3ca0419
commit a6c610d26c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ class ActivityPub::TagManager
}.freeze
def public_collection?(uri)
uri == COLLECTIONS[:public] || ['as:Public', 'Public'].include?(uri)
uri == COLLECTIONS[:public] || %w(as:Public Public).include?(uri)
end
def url_for(target)