瀏覽代碼

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,9 +50,7 @@ export default class XMPP extends Listenable {
50 50
         this.connection = null;
51 51
         this.disconnectInProgress = false;
52 52
         this.connectionTimes = {};
53
-        this.forceMuted = false;
54 53
         this.options = options;
55
-        this.connectParams = {};
56 54
         this.token = token;
57 55
         this.authenticatedUser = false;
58 56
         this._initStrophePlugins(this);
@@ -302,10 +300,6 @@ export default class XMPP extends Listenable {
302 300
      * @param password
303 301
      */
304 302
     connect(jid, password) {
305
-        this.connectParams = {
306
-            jid,
307
-            password
308
-        };
309 303
         if (!jid) {
310 304
             const { anonymousdomain, domain } = this.options.hosts;
311 305
             let configDomain = anonymousdomain || domain;

Loading…
取消
儲存