From bc96af7f5f108847500afa9427228c8c99b149a1 Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Mon, 2 May 2022 23:08:41 +0900 Subject: [PATCH] Remove unused blogs::CustomGroup --- plume-models/src/blogs.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plume-models/src/blogs.rs b/plume-models/src/blogs.rs index e9f9fd1a..8ba29a3b 100644 --- a/plume-models/src/blogs.rs +++ b/plume-models/src/blogs.rs @@ -2,7 +2,6 @@ use crate::{ db_conn::DbConn, instance::*, medias::Media, posts::Post, safe_string::SafeString, schema::blogs, users::User, Connection, Error, PlumeRocket, Result, CONFIG, ITEMS_PER_PAGE, }; -use activitypub::{actor::Group, CustomObject}; use activitystreams::{ actor::{ApActor, ApActorExt, AsApActor, Group as Group07}, base::AnyBase, @@ -21,13 +20,11 @@ use openssl::{ }; use plume_common::activity_pub::{ inbox::{AsActor, FromId}, - sign, ActivityStream, ApSignature, ApSignature07, CustomGroup as CustomGroup07, Id, IntoId, - PublicKey07, Source, SourceProperty, ToAsString, ToAsUri, + sign, ActivityStream, ApSignature07, CustomGroup as CustomGroup07, Id, IntoId, PublicKey07, + Source, SourceProperty, ToAsString, ToAsUri, }; use webfinger::*; -pub type CustomGroup = CustomObject; - #[derive(Queryable, Identifiable, Clone, AsChangeset, Debug)] #[changeset_options(treat_none_as_null = "true")] pub struct Blog {