mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 18:45:41 +01:00
Update app/lib/activitypub/tag_manager.rb
Co-authored-by: Matt Jankowski <matt@jankowski.online>
This commit is contained in:
parent
b5d3ca0419
commit
a6c610d26c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue