From a6c610d26ce7fa93e6207c152044ed93f3487252 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sun, 15 Dec 2024 19:23:55 -0500 Subject: [PATCH] Update app/lib/activitypub/tag_manager.rb Co-authored-by: Matt Jankowski --- app/lib/activitypub/tag_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/activitypub/tag_manager.rb b/app/lib/activitypub/tag_manager.rb index f907f3f8e4..a489928407 100644 --- a/app/lib/activitypub/tag_manager.rb +++ b/app/lib/activitypub/tag_manager.rb @@ -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)