Browse Source

auto commit v2

rzv_feb
jfinn 2 years ago
parent
commit
eed1ec9e9c
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      modules/e2ee/ManagedKeyHandler.js

+ 4
- 1
modules/e2ee/ManagedKeyHandler.js View File

@@ -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
 }

Loading…
Cancel
Save