Fix teamid bug (mattermost)

This commit is contained in:
Wim 2016-10-29 16:46:02 +02:00
parent dfc513530b
commit 035dc042a1
1 changed files with 1 additions and 1 deletions

View File

@ -73,10 +73,10 @@ func (b *Bmattermost) Connect() error {
return err return err
} }
flog.Info("Connection succeeded") flog.Info("Connection succeeded")
b.TeamId = b.mc.GetTeamId()
go b.mc.WsReceiver() go b.mc.WsReceiver()
} }
go b.handleMatter() go b.handleMatter()
b.TeamId = b.mc.GetTeamId()
return nil return nil
} }