[MM-43073] broadcast post unread websocket when CRT off (#19927)
* [MM-43073] broadcast post unread websocket with CRT off * clean up debug Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
77ec4aa404
Коммит
d40d216b57
@@ -2715,6 +2715,8 @@ func (a *App) markChannelAsUnreadFromPostCRTUnsupported(postID string, userID st
|
||||
if nErr != nil {
|
||||
return channelUnread, model.NewAppError("MarkChannelAsUnreadFromPost", "app.channel.update_last_viewed_at_post.app_error", nil, nErr.Error(), http.StatusInternalServerError)
|
||||
}
|
||||
a.sendWebSocketPostUnreadEvent(channelUnread, postID, false)
|
||||
a.UpdateMobileAppBadge(userID)
|
||||
return channelUnread, nil
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user