fix(backend): Change isPublic to correctly recognize as:Public term (#11347)

* fix: Change isPublic to correctly recognize as:Public term

* Update CHANGELOG.md

---------

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
Koki Takahashi 2023-07-25 19:35:21 +09:00 committed by GitHub
parent c1a19ff900
commit 0404d9c103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
-
### Server
-
- Fix: 外部サーバーの投稿がタイムラインに表示されないことがある問題を修正
-->
## 13.x.x (unreleased)

View File

@ -95,7 +95,7 @@ export class ApAudienceService {
private isPublic(id: string): boolean {
return [
'https://www.w3.org/ns/activitystreams#Public',
'as#Public',
'as:Public',
'Public',
].includes(id);
}