Pārlūkot izejas kodu

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

master
Saúl Ibarra Corretgé 7 gadus atpakaļ
vecāks
revīzija
3fd5e6c30f
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0
    6
      modules/xmpp/xmpp.js

+ 0
- 6
modules/xmpp/xmpp.js Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt