mirror of
https://github.com/42wim/matterbridge
synced 2024-11-11 01:10:38 +00:00
Remove token check
This commit is contained in:
parent
fb586f4a96
commit
300cfe044a
@ -79,8 +79,7 @@ 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,
|
||||
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,
|
||||
|
@ -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