activitypub: fix typo in audience.ts isPublic check

This commit is contained in:
Laura Hausmann 2024-02-09 10:28:57 +01:00 committed by Johann150
parent 6ee8a369b3
commit c8f8e4c01d
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -80,7 +80,7 @@ function groupingAudience(ids: string[], actor: IRemoteUser) {
function isPublic(id: string) {
return [
'https://www.w3.org/ns/activitystreams#Public',
'as#Public',
'as:Public',
'Public',
].includes(id);
}