diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-15 12:29:03 -0300 |
---|---|---|
committer | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-15 12:30:26 -0300 |
commit | b0bb22aa9c9f1d5b2e582e58bf20c6856feb87ec (patch) | |
tree | 1107a5cbfd05f9b696d7ebacce9475f003db7a4c /accept.go | |
parent | 149f71db2d6e1b704ff2712393da5276a622d4dd (diff) |
go fmt
Diffstat (limited to 'accept.go')
-rw-r--r-- | accept.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |