From 0b9bc18236055fdb785a878b3a0f40f73102f8ef Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 26 Oct 2019 23:31:44 +0200 Subject: Update vendor matterbridge/gomatrix fork (#928) --- vendor/github.com/matterbridge/gomatrix/userids.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/matterbridge/gomatrix/userids.go') diff --git a/vendor/github.com/matterbridge/gomatrix/userids.go b/vendor/github.com/matterbridge/gomatrix/userids.go index 23e78072..70002c5b 100644 --- a/vendor/github.com/matterbridge/gomatrix/userids.go +++ b/vendor/github.com/matterbridge/gomatrix/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 } -- cgit v1.2.3