diff options
author | FChannel <> | 2021-06-06 00:07:31 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-06 00:07:31 -0700 |
commit | 5ca02e417cb5e60b020c0e090ac56d1000aed1cd (patch) | |
tree | ed3812e6409be9ebc269ae6c9ef9576c669baa2f /outboxPost.go | |
parent | 84c008bc27510c63fb22d14c8559e05e12953418 (diff) |
correct post ordering when following instance
Diffstat (limited to 'outboxPost.go')
-rw-r--r-- | outboxPost.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/outboxPost.go b/outboxPost.go index ab8c451..075b795 100644 --- a/outboxPost.go +++ b/outboxPost.go @@ -544,11 +544,11 @@ func CheckCaptcha(db *sql.DB, captcha string) bool { func ParseInboxRequest(w http.ResponseWriter, r *http.Request, db *sql.DB) { activity := GetActivityFromJson(r, db) - if !VerifyHeaderSignature(r, *activity.Actor) { - response := RejectActivity(activity) - MakeActivityRequest(db, response) - return - } + // if !VerifyHeaderSignature(r, *activity.Actor) { + // response := RejectActivity(activity) + // MakeActivityRequest(db, response) + // return + // } switch(activity.Type) { case "Create": |