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 a062aeccc8
No known key found for this signature in database
GPG Key ID: 1F85C9AD922D0829
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);