浏览代码

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,7 +231,7 @@ StateListenerRegistry.register(
231 231
 
232 232
                 });
233 233
         } else {
234
-            const localParticipantId = getLocalParticipant(store.getState).getId();
234
+            const localParticipantId = getLocalParticipant(store.getState).id;
235 235
 
236 236
             // We left the conference, the local participant must be updated.
237 237
             _e2eeUpdated(store, conference, localParticipantId, false);

正在加载...
取消
保存