diff options
-rw-r--r-- | bridge/mattermost/mattermost.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |