summaryrefslogtreecommitdiffstats
path: root/matterclient/matterclient.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-09-19 23:58:57 +0200
committerWim <wim@42.be>2016-09-19 23:58:57 +0200
commit002c5fd0d1f0f777b93ba98e2f7081fe510939f1 (patch)
treee41ee7b59cb4bf70ba94219bdb847394085db844 /matterclient/matterclient.go
parent18504ec08df0a6704be73f9a95520759157abd72 (diff)
downloadmatterbridge-msglm-002c5fd0d1f0f777b93ba98e2f7081fe510939f1.tar.gz
matterbridge-msglm-002c5fd0d1f0f777b93ba98e2f7081fe510939f1.tar.bz2
matterbridge-msglm-002c5fd0d1f0f777b93ba98e2f7081fe510939f1.zip
Cleanup mattermost bridge debug/info messages
Diffstat (limited to 'matterclient/matterclient.go')
-rw-r--r--matterclient/matterclient.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index 7f67e3da..1bac634e 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -601,7 +601,6 @@ func (m *MMClient) StatusLoop() {
func (m *MMClient) initUser() error {
m.Lock()
defer m.Unlock()
- m.log.Debug("initUser()")
initLoad, err := m.Client.GetInitialLoad()
if err != nil {
return err
@@ -610,7 +609,7 @@ func (m *MMClient) initUser() error {
m.User = initData.User
// we only load all team data on initial login.
// all other updates are for channels from our (primary) team only.
- m.log.Debug("initUser(): loading all team data")
+ //m.log.Debug("initUser(): loading all team data")
for _, v := range initData.Teams {
m.Client.SetTeamId(v.Id)
mmusers, _ := m.Client.GetProfiles(v.Id, "")