Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix new message indicator (#2611)
Browse files Browse the repository at this point in the history
  • Loading branch information
saturninoabril committed Apr 4, 2019
1 parent cbd6c97 commit 3faa5d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions actions/global_actions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
getChannelStats,
getMyChannelMember,
markChannelAsRead,
markChannelAsViewed,
selectChannel,
} from 'mattermost-redux/actions/channels';
import {logout, loadMe} from 'mattermost-redux/actions/users';
Expand Down Expand Up @@ -70,6 +71,7 @@ export function emitChannelClickEvent(channel) {

// Mark previous and next channel as read
dispatch(markChannelAsRead(chan.id, oldChannelId));
dispatch(markChannelAsViewed(chan.id, oldChannelId));
reloadIfServerVersionChanged();
});

Expand Down

0 comments on commit 3faa5d2

Please sign in to comment.