mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-19 12:02:55 +09:00
Merge pull request 'fix: federating "Boost to Followers"' (#9778) from naskya/calckey:fix/followers-only-boost into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9778
This commit is contained in:
commit
745bee0a3a
@ -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 New Issue
Block a user