From 79b5d9a690ab0abffc3a307389d5da8cbd192225 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 24 Apr 2022 07:25:31 +0900 Subject: [PATCH] Replace Inbox::with() with with07() --- plume-models/src/inbox.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/plume-models/src/inbox.rs b/plume-models/src/inbox.rs index 04cfb3f9..0a9b36a2 100644 --- a/plume-models/src/inbox.rs +++ b/plume-models/src/inbox.rs @@ -1,5 +1,8 @@ use activitypub::activity::*; -use activitystreams::activity::{Announce as Announce07, Delete as Delete07, Undo as Undo07}; +use activitystreams::activity::{ + Announce as Announce07, Create as Create07, Delete as Delete07, Follow as Follow07, + Like as Like07, Undo as Undo07, Update as Update07, +}; use crate::{ comments::Comment, @@ -52,14 +55,14 @@ 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()) .with07::(CONFIG.proxy()) .with::(CONFIG.proxy()) - .with::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) .with07::(CONFIG.proxy()) .with07::(CONFIG.proxy()) - .with::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) .with::(CONFIG.proxy()) .done() }