Update dependencies. Closes #9
This commit is contained in:
2
vendor/maunium.net/go/gomatrix/userids.go
generated
vendored
2
vendor/maunium.net/go/gomatrix/userids.go
generated
vendored
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user