summaryrefslogtreecommitdiffstats
path: root/model/team.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-14 12:04:57 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-14 12:18:38 -0400
commit7b3c2d6d85ecee86fbc85b440e7028018b1090b1 (patch)
tree2493b0f770c931cedde57f8d787f37f6631de484 /model/team.go
parentb2378f433ecd44a9811a52bd58e36a40f92e193f (diff)
downloadchat-7b3c2d6d85ecee86fbc85b440e7028018b1090b1.tar.gz
chat-7b3c2d6d85ecee86fbc85b440e7028018b1090b1.tar.bz2
chat-7b3c2d6d85ecee86fbc85b440e7028018b1090b1.zip
Allowing underscores in channel names. Added conversion of some slack channel names into valid mattermost names.
Diffstat (limited to 'model/team.go')
-rw-r--r--model/team.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/team.go b/model/team.go
index 6006f738c..8b4f82830 100644
--- a/model/team.go
+++ b/model/team.go
@@ -158,7 +158,7 @@ func IsReservedTeamName(s string) bool {
func IsValidTeamName(s string) bool {
- if !IsValidAlphaNum(s) {
+ if !IsValidAlphaNum(s, false) {
return false
}