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) {