summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go
index 2a7427748..bad616d73 100644
--- a/model/user.go
+++ b/model/user.go
@@ -413,6 +413,7 @@ var validUsernameChars = regexp.MustCompile(`^[a-z0-9\.\-_]+$`)
var restrictedUsernames = []string{
"all",
"channel",
+ "matterbot",
}
func IsValidUsername(s string) bool {