diff --git a/src/controllers/organisms/RoomView.js b/src/controllers/organisms/RoomView.js index 99a2ccc8..d2fec9d9 100644 --- a/src/controllers/organisms/RoomView.js +++ b/src/controllers/organisms/RoomView.js @@ -113,7 +113,7 @@ module.exports = { fillSpace: function() { var messageUl = this.refs.messageList.getDOMNode(); - if (messageUl.scrollTop < messageUl.clientHeight) { + if (messageUl.scrollTop < messageUl.clientHeight && this.state.room.oldState.paginationToken) { this.setState({paginating: true}); this.oldScrollHeight = messageUl.scrollHeight;