fix(connection-status): action

This commit is contained in:
Hristo Terezov 2020-11-24 14:47:09 -06:00 committed by Jaya Allamsetty
parent 911df4b18a
commit 3796db20ea
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
};
});
};
}