Merge pull request #1339 from mattermost/loading-forever-fix

Fixed loading forever on first page load
Этот коммит содержится в:
Joram Wilander
2015-11-06 12:10:38 -05:00
родитель 8022f99da5 d020db39cb
Коммит 190adae0c9

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

@@ -85,11 +85,6 @@ export default class PostsViewContainer extends React.Component {
const channels = this.state.channels.slice();
const channelId = ChannelStore.getCurrentId();
// Has the channel really changed?
if (channelId === channels[this.state.currentChannelIndex]) {
return;
}
PostStore.clearUnseenDeletedPosts(channelId);
let lastViewed = Number.MAX_VALUE;