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 {
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue