mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-26 05:59:29 +01:00
Remove token check
This commit is contained in:
parent
fb586f4a96
commit
300cfe044a
@ -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)
|
||||
|
@ -22,7 +22,6 @@ type Config struct {
|
||||
Mattermost struct {
|
||||
URL string
|
||||
ShowJoinPart bool
|
||||
Token string
|
||||
IconURL string
|
||||
SkipTLSVerify bool
|
||||
BindAddress string
|
||||
|
Loading…
Reference in New Issue
Block a user