forked from lug/matterbridge
		
	Fix mattermost API change for UpdateLastViewedAt
This commit is contained in:
		| @@ -422,7 +422,7 @@ func (m *MMClient) UpdateChannelHeader(channelId string, header string) { | |||||||
|  |  | ||||||
| func (m *MMClient) UpdateLastViewed(channelId string) { | func (m *MMClient) UpdateLastViewed(channelId string) { | ||||||
| 	m.log.Debugf("posting lastview %#v", channelId) | 	m.log.Debugf("posting lastview %#v", channelId) | ||||||
| 	_, err := m.Client.UpdateLastViewedAt(channelId) | 	_, err := m.Client.UpdateLastViewedAt(channelId, true) | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		m.log.Error(err) | 		m.log.Error(err) | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Wim
					Wim