diff options
author | Wim <wim@42.be> | 2016-09-17 15:33:02 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-09-17 15:33:02 +0200 |
commit | f9e59943488fa0ace312a10422821f358eba0b3a (patch) | |
tree | f32d44456739f36f777be2770d926a1f78d6d4f0 /matterclient | |
parent | ee77272cfd1a58b21ebc8ee73fdd8dafbbb12d0a (diff) | |
download | matterbridge-msglm-f9e59943488fa0ace312a10422821f358eba0b3a.tar.gz matterbridge-msglm-f9e59943488fa0ace312a10422821f358eba0b3a.tar.bz2 matterbridge-msglm-f9e59943488fa0ace312a10422821f358eba0b3a.zip |
Fix mattermost API change for UpdateLastViewedAt
Diffstat (limited to 'matterclient')
-rw-r--r-- | matterclient/matterclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index beb14de0..7f67e3da 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -422,7 +422,7 @@ func (m *MMClient) UpdateChannelHeader(channelId string, header string) { func (m *MMClient) UpdateLastViewed(channelId string) { m.log.Debugf("posting lastview %#v", channelId) - _, err := m.Client.UpdateLastViewedAt(channelId) + _, err := m.Client.UpdateLastViewedAt(channelId, true) if err != nil { m.log.Error(err) } |