From f57d5722e6f2187bea249240eb14c881f989c3c1 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 12 Jun 2022 15:36:19 -0700 Subject: first pass on federation working --- route/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'route/util.go') diff --git a/route/util.go b/route/util.go index defa60e..131cf5a 100644 --- a/route/util.go +++ b/route/util.go @@ -186,7 +186,7 @@ func ParseOutboxRequest(ctx *fiber.Ctx, actor activitypub.Actor) error { return util.MakeError(err, "ParseOutboxRequest") } - if res, err := activity.IsLocal(); err == nil && res { + if res, _ := activity.IsLocal(); res { if res := activity.Actor.VerifyHeaderSignature(ctx); err == nil && !res { ctx.Response().Header.Set("Status", "403") _, err = ctx.Write([]byte("")) -- cgit v1.2.3