mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-25 04:55:41 +00:00
Fix mattermost API change for UpdateLastViewedAt
This commit is contained in:
parent
ee77272cfd
commit
f9e5994348
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user