Skip to content

Commit

Permalink
fix(rn,external-api) remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Dec 2, 2021
1 parent be53c4c commit 40a7694
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions react/features/mobile/external-api/middleware.js
Expand Up @@ -126,7 +126,6 @@ MiddlewareRegistry.register(store => next => action => {
}

case CONFERENCE_LEFT:
case CONFERENCE_WILL_JOIN:
_sendConferenceEvent(store, action);
break;

Expand Down Expand Up @@ -600,11 +599,6 @@ function _swallowEvent(store, action, data) {
switch (action.type) {
case CONFERENCE_LEFT:
return _swallowConferenceLeft(store, action, data);
case CONFERENCE_WILL_JOIN:
// CONFERENCE_WILL_JOIN is dispatched to the external API on SET_ROOM,
// before the connection is created, so we need to swallow the original
// one emitted by base/conference.
return true;

default:
return false;
Expand Down

0 comments on commit 40a7694

Please sign in to comment.