fix: propogate filter to getParticipants in requestParticipants

This commit is contained in:
td 2023-01-04 03:36:51 +05:30
parent 4c5f8d09e8
commit 1138012dd1
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
1 changed files with 1 additions and 1 deletions

View File

@ -1509,7 +1509,7 @@ class Room {
// Do not request users from the server if we have already done it // Do not request users from the server if we have already done it
// in this session or have a complete list locally. // in this session or have a complete list locally.
if (_requestedParticipants || participantListComplete) { if (_requestedParticipants || participantListComplete) {
return getParticipants(); return getParticipants(membershipFilter);
} }
final matrixEvents = await client.getMembersByRoom(id); final matrixEvents = await client.getMembersByRoom(id);