Fix fetch offset for more dms (#255)
This commit is contained in:
parent
61576c9474
commit
185b968b76
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class MoreDirectMessages extends PureComponent {
|
|||
let {page} = this.state;
|
||||
if (this.props.requestStatus.status !== RequestStatus.STARTED && this.state.next && !this.state.searching) {
|
||||
page = page + 1;
|
||||
this.props.actions.getProfiles(page, Constants.PROFILE_CHUNK_SIZE).
|
||||
this.props.actions.getProfiles(page * Constants.PROFILE_CHUNK_SIZE, Constants.PROFILE_CHUNK_SIZE).
|
||||
then((data) => {
|
||||
if (Object.keys(data).length) {
|
||||
this.setState({
|
||||
|
|
|
|||
Loading…
Reference in a new issue