Archived
2
0

fix kicking user.

This commit is contained in:
m1k1o
2021-02-18 18:33:21 +01:00
parent 3dd48c91ac
commit afcd029e4d
2 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,11 @@ export class NekoClient extends BaseClient implements EventEmitter<NekoEvents> {
protected [EVENT.DISCONNECTED](reason?: Error) {
this.cleanup()
if (reason && reason.message == 'kicked') {
this.$accessor.logout()
}
this.$vue.$notify({
group: 'neko',
type: 'error',