diff options
author | Wim <wim@42.be> | 2018-06-17 23:48:06 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-06-17 23:48:06 +0200 |
commit | ec0e6bc3f8a032631f5374e35b1faa486c5b6405 (patch) | |
tree | 1315ba35046b6a3bc35f146f4121aeb94ba3fe56 | |
parent | d2c02be3a00f1e0f05f1ed089dfa8b3e5a0a5538 (diff) | |
download | matterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.tar.gz matterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.tar.bz2 matterbridge-msglm-ec0e6bc3f8a032631f5374e35b1faa486c5b6405.zip |
Add support for mattermost 5.x
-rw-r--r-- | matterclient/matterclient.go | 3 |
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 |