Support mattermost 4.x as api4 should be stable (mattermost)

This commit is contained in:
Wim 2017-09-28 22:34:44 +02:00
parent c7e336efd9
commit 155ae80d22
1 changed files with 1 additions and 3 deletions

View File

@ -895,9 +895,7 @@ func supportedVersion(version string) bool {
if strings.HasPrefix(version, "3.8.0") ||
strings.HasPrefix(version, "3.9.0") ||
strings.HasPrefix(version, "3.10.0") ||
strings.HasPrefix(version, "4.0") ||
strings.HasPrefix(version, "4.1") ||
strings.HasPrefix(version, "4.2") {
strings.HasPrefix(version, "4.") {
return true
}
return false