diff options
author | Felix <me@nutomic.com> | 2020-04-29 21:10:50 +0200 |
---|---|---|
committer | Felix <me@nutomic.com> | 2020-04-29 21:10:50 +0200 |
commit | 770dcbdc49c9bf01f781e5259dc8e6d816143344 (patch) | |
tree | 6c297d0adec21d4bd1ae7f74e6e62c076b1f6b78 /server/src/apub/community.rs | |
parent | c43f06124a00f3af8559d849541c2b84d3383f13 (diff) |
wip: add former_type to tombstone
Diffstat (limited to 'server/src/apub/community.rs')
-rw-r--r-- | server/src/apub/community.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/apub/community.rs b/server/src/apub/community.rs index 36e33c89..0bfb95d2 100644 --- a/server/src/apub/community.rs +++ b/server/src/apub/community.rs @@ -1,4 +1,5 @@ use super::*; +use activitystreams::actor::kind::GroupType; #[derive(Deserialize)] pub struct CommunityQuery { @@ -49,7 +50,7 @@ impl ToApub for Community { impl ToTombstone for Community { fn to_tombstone(&self) -> Result<Tombstone, Error> { - create_tombstone(self.deleted, &self.actor_id, self.published, self.updated) + create_tombstone(self.deleted, &self.actor_id, self.published, self.updated, GroupType.to_string()) } } |