diff options
author | Wim <wim@42.be> | 2019-10-26 23:31:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 23:31:44 +0200 |
commit | 0b9bc18236055fdb785a878b3a0f40f73102f8ef (patch) | |
tree | 4b267bad36e2995c85c64b4e3a4a59bd078336b9 /vendor/github.com/matterbridge/gomatrix/userids.go | |
parent | bad3b83d339b5d3ec8cd69e11ee56e82e23737bb (diff) | |
download | matterbridge-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.go | 2 |
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 } |