commit 9f4dd04a61d3e39877b250cc586080cdf7565e53
Author: Wim <wim@42.be>
Date: Tue Jul 12 00:23:36 2016 +0000
diff --git a/bridge/bridge.go b/bridge/bridge.go
index b6445be..406e468 100644
--- a/bridge/bridge.go
+++ b/bridge/bridge.go
@@ -799 +798 @@ 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)
diff --git a/bridge/config.go b/bridge/config.go
index 2bec510..1daa04d 100644
--- a/bridge/config.go
+++ b/bridge/config.go
@@ -227 +226 @@ type Config struct {
Mattermost struct {
URL string
ShowJoinPart bool
- Token string
IconURL string
SkipTLSVerify bool
BindAddress string