mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-11-29 23:11: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 activitypub::{Activity, Link, Object};
|
||||||
use activitystreams::{
|
use activitystreams::{
|
||||||
activity::AsActivity,
|
|
||||||
actor::{ApActor, Group, Person},
|
actor::{ApActor, Group, Person},
|
||||||
iri_string::types::IriString,
|
iri_string::types::IriString,
|
||||||
|
markers::Activity as Activity07,
|
||||||
object::{ApObject, Article},
|
object::{ApObject, Article},
|
||||||
unparsed::UnparsedMutExt,
|
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>)
|
pub fn broadcast07<S, T, A, K, C>(sender: &S, act: A, to: Vec<T>, proxy: Option<reqwest::Proxy>)
|
||||||
where
|
where
|
||||||
S: sign::Signer,
|
S: sign::Signer,
|
||||||
A: AsActivity<K> + serde::Serialize,
|
A: Activity07 + serde::Serialize,
|
||||||
T: inbox::AsActor<C>,
|
T: inbox::AsActor<C>,
|
||||||
{
|
{
|
||||||
let boxes = to
|
let boxes = to
|
||||||
|
|
Loading…
Reference in a new issue