use crate::{
check_is_apub_id_valid,
community::do_announce,
- extensions::signatures::sign,
+ extensions::signatures::sign_and_send,
insert_activity,
ActorType,
};
for to_url in &self.to {
let mut headers = BTreeMap::<String, String>::new();
headers.insert("Content-Type".into(), "application/json".into());
- let result = sign(
+ let result = sign_and_send(
&state.client,
headers,
to_url,