Browse Source

fix(connection-status): action

j8
Hristo Terezov 4 years ago
parent
commit
3796db20ea
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      react/features/base/participants/actions.js

+ 2
- 2
react/features/base/participants/actions.js View File

@@ -218,14 +218,14 @@ export function muteRemoteParticipant(id) {
218 218
  */
219 219
 export function participantConnectionStatusChanged(id, connectionStatus) {
220 220
     return (dispatch, getState) => {
221
-        return {
221
+        dispatch({
222 222
             type: PARTICIPANT_UPDATED,
223 223
             participant: {
224 224
                 connectionStatus,
225 225
                 id,
226 226
                 mutedWhileDisconnected: figureOutMutedWhileDisconnectedStatus(getState(), id, connectionStatus)
227 227
             }
228
-        };
228
+        });
229 229
     };
230 230
 }
231 231
 

Loading…
Cancel
Save