diff options
author | Joona Hoikkala <joohoi@users.noreply.github.com> | 2019-06-16 17:23:50 +0300 |
---|---|---|
committer | Wim <wim@42.be> | 2019-06-16 16:23:50 +0200 |
commit | 80b4cec87ae6fa85beac024e926069fcf904d347 (patch) | |
tree | 3c20bdbfc77deed336a066e9a8a8ca78e26a3b93 /bridge/mattermost/helpers.go | |
parent | 76c7b69e4e099dd80119f4ca1f2fac01aa2f31e6 (diff) | |
download | matterbridge-msglm-80b4cec87ae6fa85beac024e926069fcf904d347.tar.gz matterbridge-msglm-80b4cec87ae6fa85beac024e926069fcf904d347.tar.bz2 matterbridge-msglm-80b4cec87ae6fa85beac024e926069fcf904d347.zip |
Add an option to skip the Mattermost server version check (#849)
Adds SkipVersionCheck bool option for mattermost
Diffstat (limited to 'bridge/mattermost/helpers.go')
-rw-r--r-- | bridge/mattermost/helpers.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() |