[FIX] Searching for Online and All users for server's version less than 3.16.0 (#3407)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Reinaldo Neto 2021-10-01 17:37:50 -03:00 committed by GitHub
parent 8916a195a8
commit d19f1245e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,8 @@ class RoomMembersView extends React.Component {
type: allUsers ? 'all' : 'online', type: allUsers ? 'all' : 'online',
filter: filtering, filter: filtering,
skip: members.length, skip: members.length,
limit: PAGE_SIZE limit: PAGE_SIZE,
allUsers
}); });
this.setState({ this.setState({
members: members.concat(membersResult || []), members: members.concat(membersResult || []),