Drop activity_pub::activitypub and activity_pub::ActivityPub and only use the ActivityStream responder
This commit is contained in:
+5
-1
@@ -1,4 +1,4 @@
|
||||
use activitypub::{Actor, Object, collection::OrderedCollection};
|
||||
use activitypub::{Actor, Object, actor::Group, collection::OrderedCollection};
|
||||
use reqwest::{
|
||||
Client,
|
||||
header::{Accept, qitem},
|
||||
@@ -137,6 +137,10 @@ impl Blog {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn into_activity(&self, _conn: &PgConnection) -> Group {
|
||||
Group::default() // TODO
|
||||
}
|
||||
|
||||
pub fn update_boxes(&self, conn: &PgConnection) {
|
||||
if self.outbox_url.len() == 0 {
|
||||
diesel::update(self)
|
||||
|
||||
Reference in New Issue
Block a user