mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
on system disconnect remove autentication.
This commit is contained in:
parent
b85b40bfdf
commit
b5432d5603
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user