diff --git a/packages/backend/src/core/activitypub/misc/searchableBy.ts b/packages/backend/src/core/activitypub/misc/searchableBy.ts index c07c6004a7..090f7e3115 100644 --- a/packages/backend/src/core/activitypub/misc/searchableBy.ts +++ b/packages/backend/src/core/activitypub/misc/searchableBy.ts @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: syuilo and misskey-project, yojo-art team + * SPDX-License-Identifier: AGPL-3.0-only + */ + export function parseSearchableByFromTags(tags: string[]): 'public' | 'followersAndReacted' | 'reactedOnly' | 'private' | null { if (tags.includes('searchable_by_all_users')) return 'public'; if (tags.includes('searchable_by_followers_only')) return 'followersAndReacted';