5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-25 16:25:40 +00:00

Remove token check

This commit is contained in:
Wim 2016-07-12 00:23:36 +02:00
parent fb586f4a96
commit 300cfe044a
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -22,7 +22,6 @@ type Config struct {
Mattermost struct {
URL string
ShowJoinPart bool
Token string
IconURL string
SkipTLSVerify bool
BindAddress string