From ec0e6bc3f8a032631f5374e35b1faa486c5b6405 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 17 Jun 2018 23:48:06 +0200 Subject: Add support for mattermost 5.x --- 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 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 -- cgit v1.2.3