diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-09-30 01:33:52 +0000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2023-09-30 01:33:52 +0000 |
commit | 34867e2154467f37b137fafe833d46db63746f93 (patch) | |
tree | c113dff7ccf22e606b0537616e14dd0a8298e5ae /src/activitypub/federation/OrderedCollection.ts | |
parent | Accept Follow for federated guild joins. TODO: Channels and role federation (diff) | |
download | server-34867e2154467f37b137fafe833d46db63746f93.tar.xz |
basic channel federation
Diffstat (limited to 'src/activitypub/federation/OrderedCollection.ts')
-rw-r--r-- | src/activitypub/federation/OrderedCollection.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/activitypub/federation/OrderedCollection.ts b/src/activitypub/federation/OrderedCollection.ts index d530deb8..f3b8feea 100644 --- a/src/activitypub/federation/OrderedCollection.ts +++ b/src/activitypub/federation/OrderedCollection.ts @@ -26,6 +26,9 @@ export const makeOrderedCollection = async <T extends AnyAPObject>(opts: { const elems = await getElements(before, after); + // TODO: we need to specify next/prev props + // and should probably let the caller of this function specify what they are + // along with first/last return { "@context": ACTIVITYSTREAMS_CONTEXT, id: `${id}?page=true`, |