From 0dd3a774327d404359d35ae17df7f84f4b6a2b01 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Mon, 2 Jul 2018 09:45:32 +0100 Subject: [PATCH] Track an event name when tracking a decryption failure Otherwise piwik will not agregate the failures correctly for all views. --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 293b0130d0..9ea0cb42c8 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1306,7 +1306,7 @@ export default React.createClass({ const dft = new DecryptionFailureTracker((total) => { // TODO: Pass reason for failure as third argument to trackEvent - Analytics.trackEvent('E2E', 'Decryption failure', null, total); + Analytics.trackEvent('E2E', 'Decryption failure', 'unspecified_error', total); }); // Shelved for later date when we have time to think about persisting history of