summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-11-06 11:20:23 -0500
committerChristopher Speller <crspeller@gmail.com>2015-11-06 11:20:23 -0500
commitd020db39cb3c694332b58f030c4441a761b16d01 (patch)
tree4df7f3d7120438b83b544b2945b2bada312dc479 /web
parent19328ab5b8c8168f6a30e38b2dc5c7c1635732d0 (diff)
downloadchat-d020db39cb3c694332b58f030c4441a761b16d01.tar.gz
chat-d020db39cb3c694332b58f030c4441a761b16d01.tar.bz2
chat-d020db39cb3c694332b58f030c4441a761b16d01.zip
Fixed loading forever on first page load
Diffstat (limited to 'web')
-rw-r--r--web/react/components/posts_view_container.jsx5
1 files changed, 0 insertions, 5 deletions
diff --git a/web/react/components/posts_view_container.jsx b/web/react/components/posts_view_container.jsx
index 761664602..6cdf69402 100644
--- a/web/react/components/posts_view_container.jsx
+++ b/web/react/components/posts_view_container.jsx
@@ -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;