Fix JitsiConference access
With so many abstractions called conference, I'm not surprised I made a mistake and my reviewer didn't catch it. As we are transitioning from remote participants identified by ID alone to an ID-conference pair, the subsequent commits "Protect against late PARTICIPANT_JOINED" and "Refine PARTICIPANT_LEFT for ID collisions" caught the error.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
11b7144ad0
commit
fa9549582f
@@ -2,6 +2,7 @@
|
||||
|
||||
import throttle from 'lodash/throttle';
|
||||
|
||||
import { set } from '../redux';
|
||||
import { showNotification } from '../../notifications';
|
||||
|
||||
import {
|
||||
@@ -113,10 +114,7 @@ export function localParticipantIdChanged(id) {
|
||||
* }}
|
||||
*/
|
||||
export function localParticipantJoined(participant = {}) {
|
||||
return participantJoined({
|
||||
...participant,
|
||||
local: true
|
||||
});
|
||||
return participantJoined(set(participant, 'local', true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user