diff options
author | Wim <wim@42.be> | 2017-09-28 22:34:44 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-09-28 22:34:44 +0200 |
commit | 155ae80d2228803879ceddf6dbf51755ea32a442 (patch) | |
tree | 762f8c89dcafa41964a50ed286c539369e3381ac | |
parent | c7e336efd9aed62438b1332bcf67d1b86f06b7f2 (diff) | |
download | matterbridge-msglm-155ae80d2228803879ceddf6dbf51755ea32a442.tar.gz matterbridge-msglm-155ae80d2228803879ceddf6dbf51755ea32a442.tar.bz2 matterbridge-msglm-155ae80d2228803879ceddf6dbf51755ea32a442.zip |
Support mattermost 4.x as api4 should be stable (mattermost)
-rw-r--r-- | matterclient/matterclient.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index 37d7bc53..0b5f0a07 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -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 |