mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-24 11:00:34 +00:00
Remove trailing 07 from import of OrderedCollectionPage
This commit is contained in:
parent
6d919da049
commit
ee97213c90
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ use activitystreams::{
|
||||||
activity::Delete,
|
activity::Delete,
|
||||||
actor::{ApActor, AsApActor, Endpoints, Person},
|
actor::{ApActor, AsApActor, Endpoints, Person},
|
||||||
base::{AnyBase, Base},
|
base::{AnyBase, Base},
|
||||||
collection::{OrderedCollection as OrderedCollection07, OrderedCollectionPage},
|
collection::{OrderedCollection, OrderedCollectionPage},
|
||||||
iri_string::types::IriString,
|
iri_string::types::IriString,
|
||||||
markers::Activity as Activity07,
|
markers::Activity as Activity07,
|
||||||
object::{kind::ImageType, AsObject as _, Image, Tombstone},
|
object::{kind::ImageType, AsObject as _, Image, Tombstone},
|
||||||
|
@ -461,11 +461,11 @@ impl User {
|
||||||
.load::<User>(conn)
|
.load::<User>(conn)
|
||||||
.map_err(Error::from)
|
.map_err(Error::from)
|
||||||
}
|
}
|
||||||
pub fn outbox07(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection07>> {
|
pub fn outbox07(&self, conn: &Connection) -> Result<ActivityStream<OrderedCollection>> {
|
||||||
Ok(ActivityStream::new(self.outbox_collection07(conn)?))
|
Ok(ActivityStream::new(self.outbox_collection07(conn)?))
|
||||||
}
|
}
|
||||||
pub fn outbox_collection07(&self, conn: &Connection) -> Result<OrderedCollection07> {
|
pub fn outbox_collection07(&self, conn: &Connection) -> Result<OrderedCollection> {
|
||||||
let mut coll = OrderedCollection07::new();
|
let mut coll = OrderedCollection::new();
|
||||||
let first = &format!("{}?page=1", &self.outbox_url);
|
let first = &format!("{}?page=1", &self.outbox_url);
|
||||||
let last = &format!(
|
let last = &format!(
|
||||||
"{}?page={}",
|
"{}?page={}",
|
||||||
|
|
Loading…
Reference in a new issue