Explorar el Código

Clears external connect data after using it

efficient_tiling
hristoterezov hace 9 años
padre
commit
0970fdd7e7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      connection.js

+ 1
- 0
connection.js Ver fichero

@@ -31,6 +31,7 @@ function checkForAttachParametersAndConnect(id, password, connection) {
31 31
         var attachOptions = window.XMPPAttachInfo.data;
32 32
         if(attachOptions) {
33 33
             connection.attach(attachOptions);
34
+            delete window.XMPPAttachInfo.data;
34 35
         } else {
35 36
             connection.connect({id, password});
36 37
         }

Loading…
Cancelar
Guardar