5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-26 04:21:38 +00:00

Add support for mattermost 5.x

This commit is contained in:
Wim 2018-06-17 23:48:06 +02:00
parent d2c02be3a0
commit ec0e6bc3f8

View File

@ -917,7 +917,8 @@ 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.") { strings.HasPrefix(version, "4.") ||
strings.HasPrefix(version, "5.") {
return true return true
} }
return false return false