MM-18463 Added update_badge notification when marking a channel as unread (#12499)

* MM-18463 Added update_badge notification when marking a channel as unread

* Address feedback
Этот коммит содержится в:
Harrison Healey
2019-10-07 09:58:39 -04:00
коммит произвёл GitHub
родитель 3fa26bd0ee
Коммит 66da2bab2b
9 изменённых файлов: 92 добавлений и 78 удалений

Просмотреть файл

@@ -6504,7 +6504,7 @@ func (s *TimerLayerUserStore) GetTeamGroupUsers(teamID string) ([]*model.User, *
return resultVar0, resultVar1
}
func (s *TimerLayerUserStore) GetUnreadCount(userId string) (int64, error) {
func (s *TimerLayerUserStore) GetUnreadCount(userId string) (int64, *model.AppError) {
start := timemodule.Now()
resultVar0, resultVar1 := s.UserStore.GetUnreadCount(userId)