Remove unused blogs::CustomGroup

This commit is contained in:
Kitaiti Makoto 2022-05-02 23:08:41 +09:00
parent 811c20c8fb
commit bc96af7f5f

View file

@ -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<ApSignature, Group>;
#[derive(Queryable, Identifiable, Clone, AsChangeset, Debug)]
#[changeset_options(treat_none_as_null = "true")]
pub struct Blog {