remove dispatcher
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
f93fd1c408
commit
eb6136b957
1 changed files with 0 additions and 7 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue