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
|
@ -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 New Issue