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