diff --git a/README.md b/README.md index 7d077880..2c5d5e80 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ This app uses Web RTC to stream a desktop inside of a docker container. This is - Locked screen only for users, admins can still join. - Fixed h264 pipelines bugs (by @mbattista). - Fixed sessions manager thread safety by adding mutexes (caused panic in rare edge cases). +- Now when user gets kicked, he won't join as a ghost user again but will be logged out. ### Misc - Custom docker workflow. diff --git a/client/src/neko/index.ts b/client/src/neko/index.ts index 5913175d..611e8fdc 100644 --- a/client/src/neko/index.ts +++ b/client/src/neko/index.ts @@ -84,6 +84,11 @@ export class NekoClient extends BaseClient implements EventEmitter { protected [EVENT.DISCONNECTED](reason?: Error) { this.cleanup() + + if (reason && reason.message == 'kicked') { + this.$accessor.logout() + } + this.$vue.$notify({ group: 'neko', type: 'error',