aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-05 13:26:50 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-05 13:26:50 +0000
commitc63cd93afff0acd777b8ac5f6b3b2630c3f85d79 (patch)
treeadfe96a0a99f628246606c2f895f01d4c890cd41
parenteeb69befb8cee9003874674812c529e717ca10ec (diff)
downloadcommunique-c63cd93afff0acd777b8ac5f6b3b2630c3f85d79.tar.gz
try nil for body
Diffstat (limited to '')
-rw-r--r--TODO9
-rw-r--r--registry/registry.go2
2 files changed, 4 insertions, 7 deletions
diff --git a/TODO b/TODO
index 8c3610f..4076b5f 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,5 @@
-* CGI response API
- *DONE Array of activitystream Note's?
- * dedup
-* outbox pagination
-* badger GC https://dgraph.io/docs/badger/get-started/#garbage-collection
* graceful shutdown
* outbox delivery
-* models abstraction \ No newline at end of file
+* namespace everything to /c/ so apache can 404 requests to / instead of us
+* outbox return latest 20 posts only
+* make badger GC run continously
diff --git a/registry/registry.go b/registry/registry.go
index d4ff84b..28871bf 100644
--- a/registry/registry.go
+++ b/registry/registry.go
@@ -266,7 +266,7 @@ func (r *Registry) deliverAcceptToInbox(url, actorUrl *url.URL, follow vocab.Act
// ...but it is optional, no digest will be signed if given "nil"
// body := nil
// If r were a http.ResponseWriter, call SignResponse instead.
- err = signer.SignRequest(privKey, actorUrl.String(), request, jsonData)
+ err = signer.SignRequest(privKey, actorUrl.String(), request, nil)
r.log.With("type", "delivery").With("inbox", url.String()).With("actor", actorUrl.String()).Debugf("sending accept")
client := &http.Client{}