Fix channels getting marked unread again on channel switch (#6390)

Этот коммит содержится в:
Joram Wilander
2017-05-11 08:11:12 -04:00
коммит произвёл GitHub
родитель be7c53ec7f
Коммит cd9015a967

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

@@ -58,7 +58,7 @@ export function emitChannelClickEvent(channel) {
getMyChannelMemberPromise.then(() => {
getChannelStats(chan.id)(dispatch, getState);
viewChannel(chan.id)(dispatch, getState);
viewChannel(chan.id, oldChannelId)(dispatch, getState);
loadPosts(chan.id);
// Mark previous and next channel as read