From 80b4cec87ae6fa85beac024e926069fcf904d347 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Sun, 16 Jun 2019 17:23:50 +0300 Subject: Add an option to skip the Mattermost server version check (#849) Adds SkipVersionCheck bool option for mattermost --- bridge/mattermost/helpers.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge/mattermost/helpers.go') diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go index 121cd4db..14b7469d 100644 --- a/bridge/mattermost/helpers.go +++ b/bridge/mattermost/helpers.go @@ -70,6 +70,7 @@ func (b *Bmattermost) apiLogin() error { b.mc.SetLogLevel("debug") } b.mc.SkipTLSVerify = b.GetBool("SkipTLSVerify") + b.mc.SkipVersionCheck = b.GetBool("SkipVersionCheck") b.mc.NoTLS = b.GetBool("NoTLS") b.Log.Infof("Connecting %s (team: %s) on %s", b.GetString("Login"), b.GetString("Team"), b.GetString("Server")) err := b.mc.Login() -- cgit v1.2.3