mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-27 01:46:25 -07:00
fix: allow announces with followers visibility
This commit is contained in:
parent
3bfa8e3df3
commit
4e78a4e0b0
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ export default (object: any, note: Note) => {
|
||||||
} else if (note.visibility === "home") {
|
} else if (note.visibility === "home") {
|
||||||
to = [`${attributedTo}/followers`];
|
to = [`${attributedTo}/followers`];
|
||||||
cc = ["https://www.w3.org/ns/activitystreams#Public"];
|
cc = ["https://www.w3.org/ns/activitystreams#Public"];
|
||||||
|
} else if (note.visibility === 'followers') {
|
||||||
|
to = [`${attributedTo}/followers`];
|
||||||
|
cc = [];
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue