summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-08-16 22:02:13 +0200
committerWim <wim@42.be>2017-08-16 22:02:13 +0200
commit3f75ed9c18c99ecb61c8513c7100262524e95e83 (patch)
treea91fd94ebc9e4eb77c63ebf5706bc33428d216b2
parent49ece5116778bc9155b317ed4d0faa202d90e6d7 (diff)
downloadmatterbridge-msglm-3f75ed9c18c99ecb61c8513c7100262524e95e83.tar.gz
matterbridge-msglm-3f75ed9c18c99ecb61c8513c7100262524e95e83.tar.bz2
matterbridge-msglm-3f75ed9c18c99ecb61c8513c7100262524e95e83.zip
Add 4.1 support (mattermost)
-rw-r--r--matterclient/matterclient.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index 4f0f7593..096a4bd8 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -869,7 +869,8 @@ func supportedVersion(version string) bool {
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.0") ||
+ strings.HasPrefix(version, "4.1") {
return true
}
return false