Implement User::outbox07()
This commit is contained in:
parent
e392a89526
commit
038d65acaa
@ -437,6 +437,9 @@ impl User {
|
|||||||
pub fn outbox(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection>> {
|
pub fn outbox(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection>> {
|
||||||
Ok(ActivityStream::new(self.outbox_collection(conn)?))
|
Ok(ActivityStream::new(self.outbox_collection(conn)?))
|
||||||
}
|
}
|
||||||
|
pub fn outbox07(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection07>> {
|
||||||
|
Ok(ActivityStream::new(self.outbox_collection07(conn)?))
|
||||||
|
}
|
||||||
pub fn outbox_collection(&self, conn: &Connection) -> Result<OrderedCollection> {
|
pub fn outbox_collection(&self, conn: &Connection) -> Result<OrderedCollection> {
|
||||||
let mut coll = OrderedCollection::default();
|
let mut coll = OrderedCollection::default();
|
||||||
let first = &format!("{}?page=1", &self.outbox_url);
|
let first = &format!("{}?page=1", &self.outbox_url);
|
||||||
|
Loading…
Reference in New Issue
Block a user