From: Felix Ableitner <me@nutomic.com>
Date: Wed, 27 Oct 2021 10:56:07 +0000 (+0200)
Subject: Rewrite community moderators collection
X-Git-Url: http://these/git/readmes/%7B%60%24%7BwebArchiveUrl%7D/save/static/README.es.md?a=commitdiff_plain;h=0af047dd833bd7777237daf68bab6af8a4516c68;p=lemmy.git

Rewrite community moderators collection
---

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<ApubPost>);
 #[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<NaiveDateTime> {