summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-09-09 17:00:26 +0200
committerWim <wim@42.be>2017-09-09 17:00:26 +0200
commitc4193d5ccddaed7894b914566c494b504be72391 (patch)
treed1ef918187c5789c5417758b9a799123bf86eae2 /matterclient
parent0c94186818504d8993b7c10ef758de3b4e5d7df4 (diff)
downloadmatterbridge-msglm-c4193d5ccddaed7894b914566c494b504be72391.tar.gz
matterbridge-msglm-c4193d5ccddaed7894b914566c494b504be72391.tar.bz2
matterbridge-msglm-c4193d5ccddaed7894b914566c494b504be72391.zip
Add 4.2 support (mattermost)
Diffstat (limited to 'matterclient')
-rw-r--r--matterclient/matterclient.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index bfaae952..efd43038 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -861,7 +861,8 @@ func supportedVersion(version string) bool {
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.1") ||
+ strings.HasPrefix(version, "4.2") {
return true
}
return false