fix(rn,external-api) remove dead code

This commit is contained in:
Saúl Ibarra Corretgé 2021-12-02 12:26:37 +01:00 committed by Saúl Ibarra Corretgé
parent be53c4c522
commit 40a76940ac
1 changed files with 0 additions and 6 deletions

View File

@ -126,7 +126,6 @@ MiddlewareRegistry.register(store => next => action => {
}
case CONFERENCE_LEFT:
case CONFERENCE_WILL_JOIN:
_sendConferenceEvent(store, action);
break;
@ -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;