Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(participants-pane): multi words search
ilaydadastan2f6d9d4b5279
diff --git a/react/features/participants-pane/functions.ts b/react/features/participants-pane/functions.tsindex 0863ccde3a..c95698ddbe 100644--- a/react/features/participants-pane/functions.ts+++ b/react/features/participants-pane/functions.ts@@ -242,19 +242,11 @@ searchString: string) {if (searchString === '') {return true;}+ const participantName = normalizeAccents(participant?.name || participant?.displayName || '')+ .toLowerCase();+ const lowerCaseSearchString = searchString.trim().toLowerCase();- const names = normalizeAccents(participant?.name || participant?.displayName || '')- .toLowerCase()- .split(' ');- const lowerCaseSearchString = searchString.toLowerCase();-- for (const name of names) {- if (name.startsWith(lowerCaseSearchString)) {- return true;- }- }-- return false;+ return participantName.includes(lowerCaseSearchString);}/**