mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-05 03:04:50 +01:00
fix: Change isPublic to correctly recognize as:Public term (#108)
Co-authored-by: Koki Takahashi <hakatasiloving@gmail.com>
This commit is contained in:
parent
b6d9894ed9
commit
4a2bb601bb
1 changed files with 1 additions and 1 deletions
|
@ -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