mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 03:02:25 -05:00
Reset chat state on resource change.
This commit is contained in:
parent
3cd8f551ce
commit
3d9acf49d9
@ -145,6 +145,7 @@ module.exports = HumanModel.define({
|
||||
this.timezoneOffset = res.timezoneOffset;
|
||||
this.idleSince = res.idleSince;
|
||||
}
|
||||
this.chatState = 'active';
|
||||
} else {
|
||||
this.topResource = undefined;
|
||||
this.chatState = 'gone';
|
||||
|
Loading…
Reference in New Issue
Block a user