浏览代码

feat(chore): removed unused attributes (#658)

master
Saúl Ibarra Corretgé 7 年前
父节点
当前提交
3fd5e6c30f
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0
    6
      modules/xmpp/xmpp.js

+ 0
- 6
modules/xmpp/xmpp.js 查看文件

50
         this.connection = null;
50
         this.connection = null;
51
         this.disconnectInProgress = false;
51
         this.disconnectInProgress = false;
52
         this.connectionTimes = {};
52
         this.connectionTimes = {};
53
-        this.forceMuted = false;
54
         this.options = options;
53
         this.options = options;
55
-        this.connectParams = {};
56
         this.token = token;
54
         this.token = token;
57
         this.authenticatedUser = false;
55
         this.authenticatedUser = false;
58
         this._initStrophePlugins(this);
56
         this._initStrophePlugins(this);
302
      * @param password
300
      * @param password
303
      */
301
      */
304
     connect(jid, password) {
302
     connect(jid, password) {
305
-        this.connectParams = {
306
-            jid,
307
-            password
308
-        };
309
         if (!jid) {
303
         if (!jid) {
310
             const { anonymousdomain, domain } = this.options.hosts;
304
             const { anonymousdomain, domain } = this.options.hosts;
311
             let configDomain = anonymousdomain || domain;
305
             let configDomain = anonymousdomain || domain;

正在加载...
取消
保存