remove dispatcher

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-05-28 11:26:41 +01:00
parent f93fd1c408
commit eb6136b957
1 changed files with 0 additions and 7 deletions

View File

@ -15,7 +15,6 @@
*/
import MatrixClientPeg from './MatrixClientPeg';
// import dis from './dispatcher';
function redact(str) {
return str.replace(/#\/(room|user)\/(.+)/, "#/$1/<redacted>");
@ -31,14 +30,8 @@ class Analytics {
this.tracker.enableHeartBeatTimer();
this.tracker.enableLinkTracking(true);
// dis.register(this._onAction.bind(this));
}
// _onAction(payload) {
// this.trackEvent('Dispatcher', payload.action);
// }
async trackPageChange() {
if (!this.tracker) return;
this.tracker.trackPageView(redact(window.location.hash));