Revert "Fixed loading forever on first page load"

This reverts commit d020db39cb.
Этот коммит содержится в:
Christopher Speller
2015-11-06 13:53:26 -05:00
родитель 32069345b5
Коммит 1610fe6ca5

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

@@ -85,6 +85,11 @@ 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;