Переглянути джерело

fix(rn,external-api) remove dead code

master
Saúl Ibarra Corretgé 3 роки тому
джерело
коміт
40a76940ac
1 змінених файлів з 0 додано та 6 видалено
  1. 0
    6
      react/features/mobile/external-api/middleware.js

+ 0
- 6
react/features/mobile/external-api/middleware.js Переглянути файл

@@ -126,7 +126,6 @@ MiddlewareRegistry.register(store => next => action => {
126 126
     }
127 127
 
128 128
     case CONFERENCE_LEFT:
129
-    case CONFERENCE_WILL_JOIN:
130 129
         _sendConferenceEvent(store, action);
131 130
         break;
132 131
 
@@ -600,11 +599,6 @@ function _swallowEvent(store, action, data) {
600 599
     switch (action.type) {
601 600
     case CONFERENCE_LEFT:
602 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 603
     default:
610 604
         return false;

Завантаження…
Відмінити
Зберегти