diff --git a/plume-models/src/users.rs b/plume-models/src/users.rs index b64b451e..34b628fe 100644 --- a/plume-models/src/users.rs +++ b/plume-models/src/users.rs @@ -15,7 +15,9 @@ use activitystreams::{ activity::Delete as Delete07, actor::AsApActor, actor::{ApActor as ApActor07, Endpoints as Endpoints07, Person as Person07}, - collection::OrderedCollection as OrderedCollection07, + collection::{ + OrderedCollection as OrderedCollection07, OrderedCollectionPage as OrderedCollectionPage07, + }, iri_string::types::IriString, object::{AsObject as _, Image as Image07, Tombstone as Tombstone07}, prelude::*, @@ -480,6 +482,15 @@ impl User { self.outbox_collection_page(conn, (min, max))?, )) } + pub fn outbox_page07( + &self, + conn: &Connection, + (min, max): (i32, i32), + ) -> Result> { + Ok(ActivityStream::new( + self.outbox_collection_page07(conn, (min, max))?, + )) + } pub fn outbox_collection_page( &self, conn: &Connection,