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) fix unpinning when switching conferences
Saúl Ibarra Corretgé3548485e842c
diff --git a/react/features/base/participants/reducer.js b/react/features/base/participants/reducer.jsindex 8a3c6f3eb2..5e5ff9f3f7 100644--- a/react/features/base/participants/reducer.js+++ b/react/features/base/participants/reducer.js@@ -146,7 +146,7 @@ ReducerRegistry.register('features/base/participants', (state = DEFAULT_STATE, a_updateParticipantProperty(state, pinnedParticipant, 'pinned', false);}- if (_updateParticipantProperty(state, id, 'pinned', true)) {+ if (id && _updateParticipantProperty(state, id, 'pinned', true)) {return {...state,pinnedParticipant: id@@ -503,7 +503,9 @@ function _updateParticipantProperty(state, id, property, value) {remote.set(id, set(remote.get(id), property, value));return true;- } else if (local?.id === id) {+ } else if (local?.id === id || local?.id === 'local') {+ // The local participant's ID can chance from something to "local" when+ // not in a conference.state.local = set(local, property, value);return true;