Browse Source

fix(rn,external-api) remove dead code

master
Saúl Ibarra Corretgé 3 years ago
parent
commit
40a76940ac
1 changed files with 0 additions and 6 deletions
  1. 0
    6
      react/features/mobile/external-api/middleware.js

+ 0
- 6
react/features/mobile/external-api/middleware.js View File

126
     }
126
     }
127
 
127
 
128
     case CONFERENCE_LEFT:
128
     case CONFERENCE_LEFT:
129
-    case CONFERENCE_WILL_JOIN:
130
         _sendConferenceEvent(store, action);
129
         _sendConferenceEvent(store, action);
131
         break;
130
         break;
132
 
131
 
600
     switch (action.type) {
599
     switch (action.type) {
601
     case CONFERENCE_LEFT:
600
     case CONFERENCE_LEFT:
602
         return _swallowConferenceLeft(store, action, data);
601
         return _swallowConferenceLeft(store, action, data);
603
-    case CONFERENCE_WILL_JOIN:
604
-        // CONFERENCE_WILL_JOIN is dispatched to the external API on SET_ROOM,
605
-        // before the connection is created, so we need to swallow the original
606
-        // one emitted by base/conference.
607
-        return true;
608
 
602
 
609
     default:
603
     default:
610
         return false;
604
         return false;

Loading…
Cancel
Save