From 4f42b00ec18cfdf3f97527a6fe91babc03f118aa Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 2 Jan 2023 13:27:18 -0500 Subject: return ordered collection for outbox instead of page --- urls/urls.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'urls/urls.go') diff --git a/urls/urls.go b/urls/urls.go index 65aa042..d2bfb4a 100644 --- a/urls/urls.go +++ b/urls/urls.go @@ -44,14 +44,3 @@ func UrlActivity(name, domain, id string) (*url.URL, error) { func UrlNote(name, domain, id string) (*url.URL, error) { return linkTo("note", domain, "actors", name, "activity", id, "note") } - -func UrlOutboxPage(name, domain string) (*url.URL, error) { - u, err := UrlOutbox(name, domain) - if err != nil { - return nil, fmt.Errorf("could not build outbox page url: %w", err) - } - q := u.Query() - q.Set("page", "true") - u.RawQuery = q.Encode() - return u, nil -} -- cgit v1.2.3