summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/matterbridge/gomatrix/userids.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-10-26 23:31:44 +0200
committerGitHub <noreply@github.com>2019-10-26 23:31:44 +0200
commit0b9bc18236055fdb785a878b3a0f40f73102f8ef (patch)
tree4b267bad36e2995c85c64b4e3a4a59bd078336b9 /vendor/github.com/matterbridge/gomatrix/userids.go
parentbad3b83d339b5d3ec8cd69e11ee56e82e23737bb (diff)
downloadmatterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.tar.gz
matterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.tar.bz2
matterbridge-msglm-0b9bc18236055fdb785a878b3a0f40f73102f8ef.zip
Update vendor matterbridge/gomatrix fork (#928)
Diffstat (limited to 'vendor/github.com/matterbridge/gomatrix/userids.go')
-rw-r--r--vendor/github.com/matterbridge/gomatrix/userids.go2
1 files changed, 1 insertions, 1 deletions
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
}