[backend] Fix typo in audience.ts isPublic check

This commit is contained in:
Laura Hausmann 2024-02-07 19:56:02 +01:00
parent 826e2c2867
commit 4b20ab6ad4
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

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