diff --git a/upub/routes/src/activitypub/actor/following.rs b/upub/routes/src/activitypub/actor/following.rs index 4bc30ea..96bd89e 100644 --- a/upub/routes/src/activitypub/actor/following.rs +++ b/upub/routes/src/activitypub/actor/following.rs @@ -119,6 +119,7 @@ pub async fn page( crate::builders::collection_page( &upub::url!(ctx, "/actors/{id}/{follow___}/page"), offset, limit, - following.into_iter().map(serde_json::Value::String).collect() + following.into_iter().map(serde_json::Value::String).collect(), + true ) } diff --git a/upub/routes/src/activitypub/actor/notifications.rs b/upub/routes/src/activitypub/actor/notifications.rs index 8d0d215..1a1f5c0 100644 --- a/upub/routes/src/activitypub/actor/notifications.rs +++ b/upub/routes/src/activitypub/actor/notifications.rs @@ -52,6 +52,6 @@ pub async fn page( .map(|x| x.ap()) .collect(); - crate::builders::collection_page(&upub::url!(ctx, "/actors/{id}/notifications/page"), offset, limit, activities) + crate::builders::collection_page(&upub::url!(ctx, "/actors/{id}/notifications/page"), offset, limit, activities, true) } diff --git a/upub/routes/src/activitypub/object/context.rs b/upub/routes/src/activitypub/object/context.rs index 3cc1751..166a1d7 100644 --- a/upub/routes/src/activitypub/object/context.rs +++ b/upub/routes/src/activitypub/object/context.rs @@ -51,5 +51,5 @@ pub async fn page( .map(|item| item.ap()) .collect(); - crate::builders::collection_page(&id, offset, limit, items) + crate::builders::collection_page(&id, offset, limit, items, true) } diff --git a/upub/routes/src/activitypub/tags.rs b/upub/routes/src/activitypub/tags.rs index 415bf04..26dbbb5 100644 --- a/upub/routes/src/activitypub/tags.rs +++ b/upub/routes/src/activitypub/tags.rs @@ -47,6 +47,7 @@ pub async fn page( offset, limit, objects, + true, ) }