summaryrefslogtreecommitdiffstats
path: root/bridge/bridge.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-07-12 00:23:36 +0200
committerWim <wim@42.be>2016-07-12 00:23:36 +0200
commit300cfe044ac080c512aec2eebe9af05887a45ac8 (patch)
tree57831fc221c7ef41bda5dd7db58fe117cad2ecba /bridge/bridge.go
parentfb586f4a9607ab6848ffe0c16702977637ed203b (diff)
downloadmatterbridge-msglm-300cfe044ac080c512aec2eebe9af05887a45ac8.tar.gz
matterbridge-msglm-300cfe044ac080c512aec2eebe9af05887a45ac8.tar.bz2
matterbridge-msglm-300cfe044ac080c512aec2eebe9af05887a45ac8.zip
Remove token check
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r--bridge/bridge.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go
index b6445be2..406e4687 100644
--- a/bridge/bridge.go
+++ b/bridge/bridge.go
@@ -79,9 +79,8 @@ func NewBridge(name string, config *Config, kind string) *Bridge {
}
if kind == Legacy {
b.mh = matterhook.New(b.Config.Mattermost.URL,
- matterhook.Config{Token: b.Config.Mattermost.Token,
- InsecureSkipVerify: b.Config.Mattermost.SkipTLSVerify,
- BindAddress: b.Config.Mattermost.BindAddress})
+ matterhook.Config{InsecureSkipVerify: b.Config.Mattermost.SkipTLSVerify,
+ BindAddress: b.Config.Mattermost.BindAddress})
} else {
b.mc = matterclient.New(b.Config.Mattermost.Login, b.Config.Mattermost.Password,
b.Config.Mattermost.Team, b.Config.Mattermost.Server)