From da9e13622cc548a7a74c49b21a234cb8d52f131c Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Mon, 14 Feb 2022 03:17:08 +0900 Subject: [PATCH] Use Inbox::with07() for User, Delete, User --- plume-models/src/inbox.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plume-models/src/inbox.rs b/plume-models/src/inbox.rs index 21af9d88..8d744407 100644 --- a/plume-models/src/inbox.rs +++ b/plume-models/src/inbox.rs @@ -1,4 +1,5 @@ use activitypub::activity::*; +use activitystreams::activity::Delete as Delete07; use crate::{ comments::Comment, @@ -53,7 +54,7 @@ pub fn inbox(conn: &DbConn, act: serde_json::Value) -> Result(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) - .with::(CONFIG.proxy()) + .with07::(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy()) .with::(CONFIG.proxy())