forked from jshiffer/matterbridge
Support mattermost 4.x as api4 should be stable (mattermost)
This commit is contained in:
parent
c7e336efd9
commit
155ae80d22
@ -895,9 +895,7 @@ func supportedVersion(version string) bool {
|
|||||||
if strings.HasPrefix(version, "3.8.0") ||
|
if strings.HasPrefix(version, "3.8.0") ||
|
||||||
strings.HasPrefix(version, "3.9.0") ||
|
strings.HasPrefix(version, "3.9.0") ||
|
||||||
strings.HasPrefix(version, "3.10.0") ||
|
strings.HasPrefix(version, "3.10.0") ||
|
||||||
strings.HasPrefix(version, "4.0") ||
|
strings.HasPrefix(version, "4.") {
|
||||||
strings.HasPrefix(version, "4.1") ||
|
|
||||||
strings.HasPrefix(version, "4.2") {
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user