Skip to content
Snippets Groups Projects
Unverified Commit 0404d9c1 authored by Koki Takahashi's avatar Koki Takahashi Committed by GitHub
Browse files

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: default avatarAcid Chicken (硫酸鶏) <root@acid-chicken.com>
parent c1a19ff9
No related branches found
Tags 12.89.0
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- -
### Server ### Server
- - Fix: 外部サーバーの投稿がタイムラインに表示されないことがある問題を修正
--> -->
## 13.x.x (unreleased) ## 13.x.x (unreleased)
......
...@@ -95,7 +95,7 @@ export class ApAudienceService { ...@@ -95,7 +95,7 @@ export class ApAudienceService {
private isPublic(id: string): boolean { private isPublic(id: string): boolean {
return [ return [
'https://www.w3.org/ns/activitystreams#Public', 'https://www.w3.org/ns/activitystreams#Public',
'as#Public', 'as:Public',
'Public', 'Public',
].includes(id); ].includes(id);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment