Use {...conf} instead of conf (Frozen object)
This commit is contained in:
parent
8d8bf43b46
commit
0aa5e7ba63
@ -46,7 +46,7 @@ class TransportXmppPlugin {
|
||||
this._client = null
|
||||
}
|
||||
|
||||
configure (conf) {
|
||||
configure ({...conf}) {
|
||||
this._conf = conf
|
||||
this._conf.reconnect = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user