Add Blog::outbox_page07()

This commit is contained in:
Kitaiti Makoto 2022-05-02 22:56:54 +09:00
parent cd6c57b9c5
commit 0524b0b153

View File

@ -342,6 +342,14 @@ impl Blog {
coll.collection_props.items = serde_json::to_value(acts)?; coll.collection_props.items = serde_json::to_value(acts)?;
Ok(coll) Ok(coll)
} }
pub fn outbox_page07(
&self,
conn: &Connection,
(min, max): (i32, i32),
) -> Result<ActivityStream<OrderedCollectionPage07>> {
self.outbox_collection_page07(conn, (min, max))
.map(ActivityStream::new)
}
pub fn outbox_collection_page07( pub fn outbox_collection_page07(
&self, &self,
conn: &Connection, conn: &Connection,