瀏覽代碼

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

master
Leonard Kim 5 年之前
父節點
當前提交
3195a449ca
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      conference.js

+ 2
- 2
conference.js 查看文件

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

Loading…
取消
儲存