summaryrefslogtreecommitdiffstats
path: root/matterclient/matterclient.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-07-09 15:15:22 +0200
committerWim <wim@42.be>2017-07-09 15:15:22 +0200
commit272735fb26b71ae0a468c1f7d71e6e8e584da5fa (patch)
treeb4623463c89ef7d234a67d9c6b7b78085bd6a9f7 /matterclient/matterclient.go
parentb75cf2c189f05f02ce422bef2e93b203528dc9dd (diff)
downloadmatterbridge-msglm-272735fb26b71ae0a468c1f7d71e6e8e584da5fa.tar.gz
matterbridge-msglm-272735fb26b71ae0a468c1f7d71e6e8e584da5fa.tar.bz2
matterbridge-msglm-272735fb26b71ae0a468c1f7d71e6e8e584da5fa.zip
Add 4.0 support (mattermost)
Diffstat (limited to 'matterclient/matterclient.go')
-rw-r--r--matterclient/matterclient.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index d389f9bc..8c2ebbb6 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -833,7 +833,8 @@ func supportedVersion(version string) bool {
strings.HasPrefix(version, "3.7.0") ||
strings.HasPrefix(version, "3.8.0") ||
strings.HasPrefix(version, "3.9.0") ||
- strings.HasPrefix(version, "3.10.0") {
+ strings.HasPrefix(version, "3.10.0") ||
+ strings.HasPrefix(version, "4.0") {
return true
}
return false