diff --git a/activitypub/controllers/webfinger.go b/activitypub/controllers/webfinger.go index 22a29a776..04e18fd65 100644 --- a/activitypub/controllers/webfinger.go +++ b/activitypub/controllers/webfinger.go @@ -38,7 +38,7 @@ func WebfingerHandler(w http.ResponseWriter, r *http.Request) { if _, valid := data.GetFederatedInboxMap()[user]; !valid { // User is not valid w.WriteHeader(http.StatusNotFound) - log.Errorln("webfinger request rejected for user:", user) + log.Debugln("webfinger request rejected for user:", user) return } 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)