From b0bb22aa9c9f1d5b2e582e58bf20c6856feb87ec Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Sun, 15 Aug 2021 12:29:03 -0300 Subject: go fmt --- accept.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accept.go') diff --git a/accept.go b/accept.go index 1263ab8..b357cc4 100644 --- a/accept.go +++ b/accept.go @@ -11,7 +11,7 @@ func acceptActivity(header string) bool { if strings.Contains(header, ";") { split := strings.Split(header, ";") accept = accept || activityRegexp.MatchString(split[0]) - accept = accept || strings.Contains(split[len(split)-1], "profile=\"https://www.w3.org/ns/activitystreams\"") + accept = accept || strings.Contains(split[len(split)-1], "profile=\"https://www.w3.org/ns/activitystreams\"") } else { accept = accept || activityRegexp.MatchString(header) } -- cgit v1.2.3