From 3e687f3af0782011b67d5dbfb24db26c6caa34f2 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Fri, 11 Feb 2022 12:55:52 +0900 Subject: [PATCH] Reduce type parameter from broadcast07 --- plume-common/src/activity_pub/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plume-common/src/activity_pub/mod.rs b/plume-common/src/activity_pub/mod.rs index ea7850af..f3b33607 100644 --- a/plume-common/src/activity_pub/mod.rs +++ b/plume-common/src/activity_pub/mod.rs @@ -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(sender: &S, act: A, to: Vec, proxy: Option) where S: sign::Signer, - A: AsActivity + serde::Serialize, + A: Activity07 + serde::Serialize, T: inbox::AsActor, { let boxes = to