|
@@ -52,14 +52,14 @@ function _updateScreenshareParticipants({ getState, dispatch }) {
|
52
|
52
|
}
|
53
|
53
|
|
54
|
54
|
if (localScreenShare && !newLocalSceenshareSourceName) {
|
55
|
|
- dispatch(participantLeft(localScreenShare.id, conference));
|
|
55
|
+ dispatch(participantLeft(localScreenShare.id, conference, undefined, true));
|
56
|
56
|
}
|
57
|
57
|
|
58
|
58
|
const removedScreenshareSourceNames = _.difference(previousScreenshareSourceNames, currentScreenshareSourceNames);
|
59
|
59
|
const addedScreenshareSourceNames = _.difference(currentScreenshareSourceNames, previousScreenshareSourceNames);
|
60
|
60
|
|
61
|
61
|
if (removedScreenshareSourceNames.length) {
|
62
|
|
- removedScreenshareSourceNames.forEach(id => dispatch(participantLeft(id, conference)));
|
|
62
|
+ removedScreenshareSourceNames.forEach(id => dispatch(participantLeft(id, conference, undefined, true)));
|
63
|
63
|
}
|
64
|
64
|
|
65
|
65
|
if (addedScreenshareSourceNames.length) {
|