From e20ba7d4fb0555f90ccb34743682b594ec00f231 Mon Sep 17 00:00:00 2001 From: SUMUKHA-PK Date: Thu, 1 Aug 2019 15:47:18 +0530 Subject: [PATCH] Fixed lint error --- userids.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userids.go b/userids.go index 23e7807..70002c5 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 }