From 272735fb26b71ae0a468c1f7d71e6e8e584da5fa Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 9 Jul 2017 15:15:22 +0200 Subject: Add 4.0 support (mattermost) --- matterclient/matterclient.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'matterclient') 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 -- cgit v1.2.3