mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-26 13:31:02 +00:00
Reduce type parameter from broadcast07
This commit is contained in:
parent
119d3e4f6a
commit
3e687f3af0
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
use activitypub::{Activity, Link, Object};
|
||||
use activitystreams::{
|
||||
activity::AsActivity,
|
||||
actor::{ApActor, Group, Person},
|
||||
iri_string::types::IriString,
|
||||
markers::Activity as Activity07,
|
||||
object::{ApObject, Article},
|
||||
unparsed::UnparsedMutExt,
|
||||
};
|
||||
|
@ -196,7 +196,7 @@ where
|
|||
pub fn broadcast07<S, T, A, K, C>(sender: &S, act: A, to: Vec<T>, proxy: Option<reqwest::Proxy>)
|
||||
where
|
||||
S: sign::Signer,
|
||||
A: AsActivity<K> + serde::Serialize,
|
||||
A: Activity07 + serde::Serialize,
|
||||
T: inbox::AsActor<C>,
|
||||
{
|
||||
let boxes = to
|
||||
|
|
Loading…
Reference in a new issue