From 89c66b9430098f3d1801b8e38af2230932aba387 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 7 Apr 2017 23:25:42 +0200 Subject: Reconnect on session removal (mattermost) --- bridge/mattermost/mattermost.go | 1 + 1 file changed, 1 insertion(+) (limited to 'bridge') diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 439ce9c9..94b649bb 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -72,6 +72,7 @@ func (b *Bmattermost) Connect() error { flog.Info("Connection succeeded") b.TeamId = b.mc.GetTeamId() go b.mc.WsReceiver() + go b.mc.StatusLoop() } go b.handleMatter() return nil -- cgit v1.2.3