From f9e59943488fa0ace312a10422821f358eba0b3a Mon Sep 17 00:00:00 2001 From: Wim Date: Sat, 17 Sep 2016 15:33:02 +0200 Subject: Fix mattermost API change for UpdateLastViewedAt --- matterclient/matterclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'matterclient') 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) } -- cgit v1.2.3