• JC Brand's avatar
    Some refactoring of chat states work. updates #292 · b4d53aaa
    JC Brand authored
    - Don't add a timeout for the GONE state.
    - Change state to GONE when the user closes the chat box.
    - Change the state to inactive when the user minimizes the chat box.
    - Change the state to active when the users maximizes the chat box.
    - Add more tests for chat states.
    b4d53aaa
utils.js 6.47 KB