Merge branch 'develop' of git@github.com:RocketChat/Rocket.Chat.ReactNative.git; branch 'develop' of github.com:RocketChat/Rocket.Chat.ReactNative into develop

This commit is contained in:
Guilherme Gazzo 2017-11-14 14:33:08 -02:00
commit 7960457b18
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default class RoomView extends React.Component {
this.state.dataSource = ds.cloneWithRows(this.data);
}
componentDidMount() {
InteractionManager.runAfterInteractions(() => RocketChat.readMessages(this.rid));
}
componentDidUpdate() {
return !this.props.loading && clearTimeout(this.timer);