|
@@ -36,7 +36,7 @@ export class ManagedKeyHandler extends KeyHandler {
|
36
|
36
|
* Build a new AutomaticKeyHandler instance, which will be used in a given conference.
|
37
|
37
|
*/
|
38
|
38
|
constructor(conference) {
|
39
|
|
-
|
|
39
|
+
|
40
|
40
|
|
41
|
41
|
super(conference);
|
42
|
42
|
console.log("ManagedKeyHandler _CONSTRUCTED???????")
|
|
@@ -262,6 +262,9 @@ export class ManagedKeyHandler extends KeyHandler {
|
262
|
262
|
* @private
|
263
|
263
|
*/
|
264
|
264
|
_generateKey() {
|
|
265
|
+ if (this.mkh_dev){
|
|
266
|
+ return glob_u.tvar.e2ee.key1
|
|
267
|
+ }
|
265
|
268
|
return window.crypto.getRandomValues(new Uint8Array(32));
|
266
|
269
|
}
|
267
|
270
|
}
|