chat-js: fix scrollback for small chat channels

This commit is contained in:
Logan Allen 2020-04-01 22:14:33 -04:00
parent 7b98e6a838
commit 72fbe18aff
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -97,7 +97,7 @@ export class ChatScreen extends Component {
}
if (
state.numPages * 100 > props.length - 400 ||
state.numPages * 100 >= props.length ||
this.hasAskedForMessages ||
props.length <= 0
) {