summaryrefslogtreecommitdiffstats
path: root/bridge/rocketchat
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-24 19:36:10 +0200
committerWim <wim@42.be>2017-06-29 23:38:48 +0200
commit830361e48bab699d7a22af1eba3f3df85ac21bd3 (patch)
treea5b3c02f33efb5ed5c629f923e104ad287bc5842 /bridge/rocketchat
parent1b1a9ce2503021c275a470c8da21d33bbdcf5681 (diff)
downloadmatterbridge-msglm-830361e48bab699d7a22af1eba3f3df85ac21bd3.tar.gz
matterbridge-msglm-830361e48bab699d7a22af1eba3f3df85ac21bd3.tar.bz2
matterbridge-msglm-830361e48bab699d7a22af1eba3f3df85ac21bd3.zip
Deprecate URL,useAPI,BindAddress (slack,mattermost,rocketchat)v0.16.0-rc1
Diffstat (limited to 'bridge/rocketchat')
-rw-r--r--bridge/rocketchat/rocketchat.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/rocketchat/rocketchat.go b/bridge/rocketchat/rocketchat.go
index 15cac553..8eb788f9 100644
--- a/bridge/rocketchat/rocketchat.go
+++ b/bridge/rocketchat/rocketchat.go
@@ -41,10 +41,10 @@ func (b *Brocketchat) Command(cmd string) string {
func (b *Brocketchat) Connect() error {
flog.Info("Connecting webhooks")
- b.mh = matterhook.New(b.Config.URL,
+ b.mh = matterhook.New(b.Config.WebhookURL,
matterhook.Config{InsecureSkipVerify: b.Config.SkipTLSVerify,
DisableServer: true})
- b.rh = rockethook.New(b.Config.URL, rockethook.Config{BindAddress: b.Config.BindAddress})
+ b.rh = rockethook.New(b.Config.WebhookURL, rockethook.Config{BindAddress: b.Config.WebhookBindAddress})
go b.handleRocketHook()
return nil
}