diff --git a/.travis.yml b/.travis.yml index 3547599..13585d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: go go: - 1.10.x - - 1.11.x install: - go get github.com/golang/lint/golint - go get github.com/fzipp/gocyclo diff --git a/userids.go b/userids.go index 70002c5..23e7807 100644 --- a/userids.go +++ b/userids.go @@ -125,6 +125,6 @@ func ExtractUserLocalpart(userID string) (string, error) { } return strings.TrimPrefix( strings.SplitN(userID, ":", 2)[0], // @foo:bar:8448 => [ "@foo", "bar:8448" ] - "@", // remove "@" prefix + "@", // remove "@" prefix ), nil }