Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(connection-status): action

Hristo Terezov3796db20ea76
diff --git a/react/features/base/participants/actions.js b/react/features/base/participants/actions.js
index de820b4abb..6a766171b7 100644
--- a/react/features/base/participants/actions.js
+++ b/react/features/base/participants/actions.js
@@ -218,14 +218,14 @@ export function muteRemoteParticipant(id) {
*/
export function participantConnectionStatusChanged(id, connectionStatus) {
return (dispatch, getState) => {
- return {
+ dispatch({
type: PARTICIPANT_UPDATED,
participant: {
connectionStatus,
id,
mutedWhileDisconnected: figureOutMutedWhileDisconnectedStatus(getState(), id, connectionStatus)
}
- };
+ });
};
}