浏览代码

Clears external connect data after using it

master
hristoterezov 9 年前
父节点
当前提交
0970fdd7e7
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      connection.js

+ 1
- 0
connection.js 查看文件

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

正在加载...
取消
保存