mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing jumping to bottom of channels when messages recieved in anouther channel
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user