aboutsummaryrefslogtreecommitdiff
path: root/clientapi/userutil/userutil.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/userutil/userutil.go')
-rw-r--r--clientapi/userutil/userutil.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/clientapi/userutil/userutil.go b/clientapi/userutil/userutil.go
index 4cea3c18..7e909ffa 100644
--- a/clientapi/userutil/userutil.go
+++ b/clientapi/userutil/userutil.go
@@ -31,11 +31,11 @@ func ParseUsernameParam(usernameParam string, expectedServerName *gomatrixserver
lp, domain, err := gomatrixserverlib.SplitID('@', usernameParam)
if err != nil {
- return "", errors.New("Invalid username")
+ return "", errors.New("invalid username")
}
if expectedServerName != nil && domain != *expectedServerName {
- return "", errors.New("User ID does not belong to this server")
+ return "", errors.New("user ID does not belong to this server")
}
localpart = lp