mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-11-26 11:12:16 -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.timezoneOffset = res.timezoneOffset;
|
||||||
this.idleSince = res.idleSince;
|
this.idleSince = res.idleSince;
|
||||||
}
|
}
|
||||||
|
this.chatState = 'active';
|
||||||
} else {
|
} else {
|
||||||
this.topResource = undefined;
|
this.topResource = undefined;
|
||||||
this.chatState = 'gone';
|
this.chatState = 'gone';
|
||||||
|
Loading…
Reference in New Issue
Block a user