You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Include decryption error in decryption failure metrics
This commit is contained in:
@@ -1312,7 +1312,7 @@ export default React.createClass({
|
||||
// if the decryption was a failure
|
||||
cli.on("Event.decrypted", (e) => {
|
||||
if (e.isDecryptionFailure()) {
|
||||
Analytics.trackEvent('E2E', 'Decryption failure');
|
||||
Analytics.trackEvent('E2E', 'Decryption failure', 'ev.content.body: ' + e.getContent().body);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user