summaryrefslogtreecommitdiff
path: root/activitypub/workerpool/outbound.go
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub/workerpool/outbound.go')
-rw-r--r--activitypub/workerpool/outbound.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/activitypub/workerpool/outbound.go b/activitypub/workerpool/outbound.go
index 6c211afcb..f72cc1be7 100644
--- a/activitypub/workerpool/outbound.go
+++ b/activitypub/workerpool/outbound.go
@@ -46,13 +46,6 @@ func worker(workerID int, queue <-chan Job) {
}
func sendActivityPubMessageToInbox(job Job) error {
- // req, err := http.NewRequest("POST", job.inbox.String(), bytes.NewReader(job.payload))
- // if err != nil {
- // return err
- // }
-
- // req.Header.Set("Content-Type", "application/json")
-
client := &http.Client{}
resp, err := client.Do(job.request)