bug: do not set authenticated to False when WS disconnected.

This commit is contained in:
Miroslav Šedivý 2021-02-08 19:35:14 +01:00
parent 03b4f7c71b
commit 5f07d5aa87

View File

@ -98,7 +98,6 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
protected [EVENT.SYSTEM_DISCONNECT]({ message }: message.SystemDisconnect) { protected [EVENT.SYSTEM_DISCONNECT]({ message }: message.SystemDisconnect) {
this._log.debug('EVENT.SYSTEM_DISCONNECT') this._log.debug('EVENT.SYSTEM_DISCONNECT')
Vue.set(this.state.connection, 'authenticated', false)
this.emit('connection.disconnect', message) this.emit('connection.disconnect', message)
} }