mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-03-14 02:52:41 +00:00
Implement User::outbox07()
This commit is contained in:
parent
e392a89526
commit
038d65acaa
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue