From 035dc042a108330e62ed4daecb5f680754d35fbb Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 29 Oct 2016 16:46:02 +0200 Subject: [PATCH] Fix teamid bug (mattermost) --- bridge/mattermost/mattermost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 685d2929..62365792 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -73,10 +73,10 @@ func (b *Bmattermost) Connect() error { return err } flog.Info("Connection succeeded") + b.TeamId = b.mc.GetTeamId() go b.mc.WsReceiver() } go b.handleMatter() - b.TeamId = b.mc.GetTeamId() return nil }