mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Use the pagination token to see when we've reached the room's birth
This commit is contained in:
parent
5d44de9e08
commit
fae629ea65
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user