on system disconnect remove autentication.

This commit is contained in:
Miroslav Šedivý 2021-01-31 14:38:37 +01:00
parent b85b40bfdf
commit b5432d5603

View File

@ -98,8 +98,8 @@ 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)
// TODO: Handle.
} }
protected [EVENT.CURSOR_IMAGE]({ uri, width, height, x, y }: message.CursorImage) { protected [EVENT.CURSOR_IMAGE]({ uri, width, height, x, y }: message.CursorImage) {