Adjust comment

This commit is contained in:
Luke Barnard 2018-06-13 09:38:57 +01:00
parent 64b86108d0
commit 230de44071

View file

@ -1309,6 +1309,7 @@ export default React.createClass({
});
// XXX: This will do a HTTP request for each Event.decrypted event
// if the decryption was a failure
cli.on("Event.decrypted", (e) => {
if (e.isDecryptionFailure()) {
Analytics.trackEvent('E2E', 'Decryption failure');