mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
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:
parent
c1a19ff900
commit
0404d9c103
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
-
|
||||
|
||||
### Server
|
||||
-
|
||||
- Fix: 外部サーバーの投稿がタイムラインに表示されないことがある問題を修正
|
||||
|
||||
-->
|
||||
## 13.x.x (unreleased)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue