Add Blog::outbox07()

This commit is contained in:
Kitaiti Makoto 2022-05-02 22:48:02 +09:00
parent 68a01d5f9b
commit 803680186b

View file

@ -311,6 +311,10 @@ impl Blog {
)))?;
Ok(coll)
}
pub fn outbox07(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection07>> {
self.outbox_collection07(conn).map(ActivityStream::new)
}
pub fn outbox_collection07(&self, conn: &Connection) -> Result<OrderedCollection07> {
let acts = self.get_activities(conn);
let acts = acts