mirror of
https://github.com/maubot/maubot
synced 2025-08-30 06:30:39 +00:00
Update dependencies
This commit is contained in:
parent
22ef8195dd
commit
2a0106da26
17 changed files with 1229 additions and 347 deletions
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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue