summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/mattermost.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-04-07 23:25:42 +0200
committerWim <wim@42.be>2017-04-07 23:27:41 +0200
commit89c66b9430098f3d1801b8e38af2230932aba387 (patch)
tree403be935d2416f7abab60e977987fd953170dbf8 /bridge/mattermost/mattermost.go
parentbd38319d8352e48eb0e29c5e30f094e5430d63e8 (diff)
downloadmatterbridge-msglm-89c66b9430098f3d1801b8e38af2230932aba387.tar.gz
matterbridge-msglm-89c66b9430098f3d1801b8e38af2230932aba387.tar.bz2
matterbridge-msglm-89c66b9430098f3d1801b8e38af2230932aba387.zip
Reconnect on session removal (mattermost)
Diffstat (limited to 'bridge/mattermost/mattermost.go')
-rw-r--r--bridge/mattermost/mattermost.go1
1 files changed, 1 insertions, 0 deletions
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