summaryrefslogtreecommitdiffstats
path: root/matterclient/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'matterclient/helpers.go')
-rw-r--r--matterclient/helpers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/matterclient/helpers.go b/matterclient/helpers.go
index d5b1038a..99743af0 100644
--- a/matterclient/helpers.go
+++ b/matterclient/helpers.go
@@ -13,7 +13,7 @@ import (
"github.com/gorilla/websocket"
"github.com/jpillora/backoff"
- "github.com/mattermost/mattermost-server/model"
+ "github.com/mattermost/mattermost-server/v5/model"
)
func (m *MMClient) doLogin(firstConnection bool, b *backoff.Backoff) error {
@@ -154,7 +154,7 @@ func (m *MMClient) initUser() error {
t := &Team{Team: team, Users: usermap, Id: team.Id}
- mmchannels, resp := m.Client.GetChannelsForTeamForUser(team.Id, m.User.Id, "")
+ mmchannels, resp := m.Client.GetChannelsForTeamForUser(team.Id, m.User.Id, false, "")
if resp.Error != nil {
return resp.Error
}