Pārlūkot izejas kodu

ref(conference): web and native exercise same redux flow for kicked out

master
Leonard Kim 5 gadus atpakaļ
vecāks
revīzija
3195a449ca
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      conference.js

+ 2
- 2
conference.js Parādīt failu

43
     conferenceWillJoin,
43
     conferenceWillJoin,
44
     conferenceWillLeave,
44
     conferenceWillLeave,
45
     dataChannelOpened,
45
     dataChannelOpened,
46
+    kickedOut,
46
     lockStateChanged,
47
     lockStateChanged,
47
     onStartMutedPolicyChanged,
48
     onStartMutedPolicyChanged,
48
     p2pStatusChanged,
49
     p2pStatusChanged,
104
     getLocationContextRoot,
105
     getLocationContextRoot,
105
     getJitsiMeetGlobalNS
106
     getJitsiMeetGlobalNS
106
 } from './react/features/base/util';
107
 } from './react/features/base/util';
107
-import { notifyKickedOut } from './react/features/conference';
108
 import { addMessage } from './react/features/chat';
108
 import { addMessage } from './react/features/chat';
109
 import { showDesktopPicker } from './react/features/desktop-picker';
109
 import { showDesktopPicker } from './react/features/desktop-picker';
110
 import { appendSuffix } from './react/features/display-name';
110
 import { appendSuffix } from './react/features/display-name';
1962
 
1962
 
1963
         room.on(JitsiConferenceEvents.KICKED, participant => {
1963
         room.on(JitsiConferenceEvents.KICKED, participant => {
1964
             APP.UI.hideStats();
1964
             APP.UI.hideStats();
1965
-            APP.store.dispatch(notifyKickedOut(participant));
1965
+            APP.store.dispatch(kickedOut(room, participant));
1966
 
1966
 
1967
             // FIXME close
1967
             // FIXME close
1968
         });
1968
         });

Notiek ielāde…
Atcelt
Saglabāt