From 163f55f9c27e9e8a75774424d22598799e8306c6 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 14 Feb 2017 21:12:02 +0100 Subject: Refactor to handle disconnects/reconnects better. Now try to reconnect every 60 seconds until forever. --- bridge/mattermost/mattermost.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bridge/mattermost/mattermost.go') diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index e2bf228d..126bab43 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -77,6 +77,10 @@ func (b *Bmattermost) Connect() error { return nil } +func (b *Bmattermost) Disconnect() error { + return nil +} + func (b *Bmattermost) JoinChannel(channel string) error { // we can only join channels using the API if b.Config.UseAPI { -- cgit v1.2.3