From bd3e6a5a914bad237a7b239823e61d59e81c57f7 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 24 Apr 2022 06:54:07 +0900 Subject: [PATCH] Replace some Inbox::with with with07 --- plume-models/src/inbox.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plume-models/src/inbox.rs b/plume-models/src/inbox.rs index 8d744407..04cfb3f9 100644 --- a/plume-models/src/inbox.rs +++ b/plume-models/src/inbox.rs @@ -1,5 +1,5 @@ use activitypub::activity::*; -use activitystreams::activity::Delete as Delete07; +use activitystreams::activity::{Announce as Announce07, Delete as Delete07, Undo as Undo07}; use crate::{ comments::Comment, @@ -49,7 +49,7 @@ impl_into_inbox_result! { pub fn inbox(conn: &DbConn, act: serde_json::Value) -> Result { Inbox::handle(conn, act) - .with::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) @@ -57,8 +57,8 @@ pub fn inbox(conn: &DbConn, act: serde_json::Value) -> Result(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) - .with::(CONFIG.proxy()) - .with::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) .done()