new event on connection state changed

This commit is contained in:
Pedro Lopez
2020-02-10 21:51:58 -04:00
parent a293146ed8
commit d44fd5d76a
2 changed files with 11 additions and 1 deletions

View File

@@ -36,7 +36,8 @@ exports.Events = {
MESSAGE_REVOKED_EVERYONE: 'message_revoke_everyone',
MESSAGE_REVOKED_ME: 'message_revoke_me',
QR_RECEIVED: 'qr',
DISCONNECTED: 'disconnected'
DISCONNECTED: 'disconnected',
STATE_CHANGED: 'change_state'
};
/**