Fixing jumping to bottom of channels when messages recieved in anouther channel

This commit is contained in:
Christopher Speller
2015-11-06 14:20:54 -05:00
parent 1610fe6ca5
commit 4795c7c003

View File

@@ -87,6 +87,8 @@ export default class PostsViewContainer extends React.Component {
// Has the channel really changed?
if (channelId === channels[this.state.currentChannelIndex]) {
// Dirty hack
this.forceUpdate();
return;
}