From 0af047dd833bd7777237daf68bab6af8a4516c68 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 27 Oct 2021 12:56:07 +0200 Subject: [PATCH] Rewrite community moderators collection --- crates/apub/src/collections/community_outbox.rs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/crates/apub/src/collections/community_outbox.rs b/crates/apub/src/collections/community_outbox.rs index 4b5e7618..faf33849 100644 --- a/crates/apub/src/collections/community_outbox.rs +++ b/crates/apub/src/collections/community_outbox.rs @@ -6,12 +6,8 @@ use crate::{ objects::{person::ApubPerson, post::ApubPost}, }; use activitystreams::{ - base::AnyBase, - chrono::NaiveDateTime, - collection::kind::OrderedCollectionType, - object::Tombstone, - primitives::OneOrMany, - url::Url, + base::AnyBase, chrono::NaiveDateTime, collection::kind::OrderedCollectionType, + primitives::OneOrMany, url::Url, }; use lemmy_api_common::blocking; use lemmy_apub_lib::{ @@ -44,7 +40,7 @@ pub(crate) struct ApubCommunityOutbox(Vec); #[async_trait::async_trait(?Send)] impl ApubObject for ApubCommunityOutbox { type DataType = CommunityContext; - type TombstoneType = Tombstone; + type TombstoneType = (); type ApubType = GroupOutbox; fn last_refreshed_at(&self) -> Option { -- 2.44.1