5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-24 03:25:40 +00:00

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

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