[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:
parent
8916a195a8
commit
d19f1245e6
|
@ -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 || []),
|
||||||
|
|
Loading…
Reference in New Issue