浏览代码

fix: Fixes boolean/string comparison.

The identities are coming from the presence and all values there are string.
release-8443
Дамян Минков 3 年前
父节点
当前提交
bac6c6d7bd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      JitsiParticipant.js

+ 1
- 1
JitsiParticipant.js 查看文件

196
      * recorder).
196
      * recorder).
197
      */
197
      */
198
     isHiddenFromRecorder() {
198
     isHiddenFromRecorder() {
199
-        return Boolean(this._identity?.user?.['hidden-from-recorder']);
199
+        return this._identity?.user?.['hidden-from-recorder'] === 'true';
200
     }
200
     }
201
 
201
 
202
     /**
202
     /**

正在加载...
取消
保存