summaryrefslogtreecommitdiffstats
path: root/matterclient
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-09-17 15:33:02 +0200
committerWim <wim@42.be>2016-09-17 15:33:02 +0200
commitf9e59943488fa0ace312a10422821f358eba0b3a (patch)
treef32d44456739f36f777be2770d926a1f78d6d4f0 /matterclient
parentee77272cfd1a58b21ebc8ee73fdd8dafbbb12d0a (diff)
downloadmatterbridge-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.go2
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)
}