aboutsummaryrefslogtreecommitdiff
path: root/outboxPost.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-06 00:07:31 -0700
committerFChannel <>2021-06-06 00:07:31 -0700
commit5ca02e417cb5e60b020c0e090ac56d1000aed1cd (patch)
treeed3812e6409be9ebc269ae6c9ef9576c669baa2f /outboxPost.go
parent84c008bc27510c63fb22d14c8559e05e12953418 (diff)
correct post ordering when following instance
Diffstat (limited to 'outboxPost.go')
-rw-r--r--outboxPost.go10
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":