Przeglądaj źródła

fix: Fixes boolean/string comparison.

The identities are coming from the presence and all values there are string.
dev1
Дамян Минков 2 lat temu
rodzic
commit
bac6c6d7bd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      JitsiParticipant.js

+ 1
- 1
JitsiParticipant.js Wyświetl plik

@@ -196,7 +196,7 @@ export default class JitsiParticipant {
196 196
      * recorder).
197 197
      */
198 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
     /**

Ładowanie…
Anuluj
Zapisz