summaryrefslogtreecommitdiffstats
path: root/matterclient/matterclient.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-06-17 23:48:06 +0200
committerWim <wim@42.be>2018-06-17 23:48:06 +0200
commitec0e6bc3f8a032631f5374e35b1faa486c5b6405 (patch)
tree1315ba35046b6a3bc35f146f4121aeb94ba3fe56 /matterclient/matterclient.go
parentd2c02be3a00f1e0f05f1ed089dfa8b3e5a0a5538 (diff)
downloadmatterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.tar.gz
matterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.tar.bz2
matterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.zip
Add support for mattermost 5.x
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 7da16eb0..e62ae428 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -917,7 +917,8 @@ 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.") {
+ strings.HasPrefix(version, "4.") ||
+ strings.HasPrefix(version, "5.") {
return true
}
return false