mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-28 06:48:32 +09: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
@ -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
Block a user