mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
bug: do not set authenticated to False when WS disconnected.
This commit is contained in:
parent
03b4f7c71b
commit
5f07d5aa87
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user