Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 548cebf4a00ab24924b09ec52ba8d566ae9d0987 Author: Wim <wim@42.be> Date: Sat Sep 17 15:33:02 2016 +0000 Fix mattermost API change for UpdateLastViewedAt diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go index beb14de..7f67e3d 100644 --- a/matterclient/matterclient.go +++ b/matterclient/matterclient.go @@ -4227 +4227 @@ 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)   }