From b5432d560316ec2eb5e9a1716da32a066fbb9067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 31 Jan 2021 14:38:37 +0100 Subject: [PATCH] on system disconnect remove autentication. --- src/component/internal/messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/internal/messages.ts b/src/component/internal/messages.ts index c744a8b0..a75de5fa 100644 --- a/src/component/internal/messages.ts +++ b/src/component/internal/messages.ts @@ -98,8 +98,8 @@ export class NekoMessages extends EventEmitter { protected [EVENT.SYSTEM_DISCONNECT]({ message }: message.SystemDisconnect) { this._log.debug('EVENT.SYSTEM_DISCONNECT') + Vue.set(this.state.connection, 'authenticated', false) this.emit('connection.disconnect', message) - // TODO: Handle. } protected [EVENT.CURSOR_IMAGE]({ uri, width, height, x, y }: message.CursorImage) {