summary refs log tree commit diff
path: root/src/activitypub/federation/OrderedCollection.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-09-30 01:33:52 +0000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-09-30 01:33:52 +0000
commit34867e2154467f37b137fafe833d46db63746f93 (patch)
treec113dff7ccf22e606b0537616e14dd0a8298e5ae /src/activitypub/federation/OrderedCollection.ts
parentAccept Follow for federated guild joins. TODO: Channels and role federation (diff)
downloadserver-34867e2154467f37b137fafe833d46db63746f93.tar.xz
basic channel federation
Diffstat (limited to 'src/activitypub/federation/OrderedCollection.ts')
-rw-r--r--src/activitypub/federation/OrderedCollection.ts3
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`,