mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-23 18:40:34 +00:00
Remove unused blogs::CustomGroup
This commit is contained in:
parent
811c20c8fb
commit
bc96af7f5f
1 changed files with 2 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue