You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
remove dispatcher
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user