diff options
author | Wim <wim@42.be> | 2017-02-14 21:12:02 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2017-02-14 21:12:02 +0100 |
commit | 163f55f9c27e9e8a75774424d22598799e8306c6 (patch) | |
tree | 5c84a9443dfce24d98b4bd466f066efa8faae211 /bridge/slack/slack.go | |
parent | 2d16fd085e91eb31264f7ff6e8cce76f79f0445b (diff) | |
download | matterbridge-msglm-163f55f9c27e9e8a75774424d22598799e8306c6.tar.gz matterbridge-msglm-163f55f9c27e9e8a75774424d22598799e8306c6.tar.bz2 matterbridge-msglm-163f55f9c27e9e8a75774424d22598799e8306c6.zip |
Refactor to handle disconnects/reconnects better.
Now try to reconnect every 60 seconds until forever.
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r-- | bridge/slack/slack.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 763231d8..0f8806a2 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -65,6 +65,11 @@ func (b *Bslack) Connect() error { return nil } +func (b *Bslack) Disconnect() error { + return nil + +} + func (b *Bslack) JoinChannel(channel string) error { // we can only join channels using the API if b.Config.UseAPI { |