瀏覽代碼

participants: fix accessing the local participant ID

getLocalParticipant returns a participant object stored in Redux, not a
JitsiParticipant object.
master
Saúl Ibarra Corretgé 5 年之前
父節點
當前提交
2b526557e4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      react/features/base/participants/middleware.js

+ 1
- 1
react/features/base/participants/middleware.js 查看文件

231
 
231
 
232
                 });
232
                 });
233
         } else {
233
         } else {
234
-            const localParticipantId = getLocalParticipant(store.getState).getId();
234
+            const localParticipantId = getLocalParticipant(store.getState).id;
235
 
235
 
236
             // We left the conference, the local participant must be updated.
236
             // We left the conference, the local participant must be updated.
237
             _e2eeUpdated(store, conference, localParticipantId, false);
237
             _e2eeUpdated(store, conference, localParticipantId, false);

Loading…
取消
儲存