summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/mattermost.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-10-29 16:46:02 +0200
committerWim <wim@42.be>2016-10-29 16:46:02 +0200
commit035dc042a108330e62ed4daecb5f680754d35fbb (patch)
treecba8ad68222f600dba246e6deb3dd7561e2e9ceb /bridge/mattermost/mattermost.go
parentdfc513530b7a3e22a82fbbc9ee4cf5cf57fc053c (diff)
downloadmatterbridge-msglm-035dc042a108330e62ed4daecb5f680754d35fbb.tar.gz
matterbridge-msglm-035dc042a108330e62ed4daecb5f680754d35fbb.tar.bz2
matterbridge-msglm-035dc042a108330e62ed4daecb5f680754d35fbb.zip
Fix teamid bug (mattermost)
Diffstat (limited to 'bridge/mattermost/mattermost.go')
-rw-r--r--bridge/mattermost/mattermost.go2
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
}