Reset unread counts for channels being switched to/away (#5037)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
5be99e1f85
Коммит
04893cbe7c
@@ -55,6 +55,10 @@ export function emitChannelClickEvent(channel) {
|
||||
trackPage();
|
||||
});
|
||||
|
||||
// Mark previous and next channel as read
|
||||
ChannelStore.resetCounts(ChannelStore.getCurrentId());
|
||||
ChannelStore.resetCounts(chan.id);
|
||||
|
||||
BrowserStore.setGlobalItem(chan.team_id, chan.id);
|
||||
|
||||
AppDispatcher.handleViewAction({
|
||||
|
||||
Ссылка в новой задаче
Block a user