mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -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") {
|
||||
to = [`${attributedTo}/followers`];
|
||||
cc = ["https://www.w3.org/ns/activitystreams#Public"];
|
||||
} else if (note.visibility === 'followers') {
|
||||
to = [`${attributedTo}/followers`];
|
||||
cc = [];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue