diff options
author | FChannel <> | 2022-06-12 15:36:19 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | f57d5722e6f2187bea249240eb14c881f989c3c1 (patch) | |
tree | ef8f4d23f9c40e0b0ba1ab2efb03e3795efe8ec0 /route/util.go | |
parent | dac4b267cab31fb3a4ce301f1bcdf364fcb541a1 (diff) |
first pass on federation working
Diffstat (limited to 'route/util.go')
-rw-r--r-- | route/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
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("")) |