mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
bab9d5c931
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ class Analytics {
|
|||
*/
|
||||
disable() {
|
||||
this.trackEvent('Analytics', 'opt-out');
|
||||
// disableHeartBeatTimer is undocumented but exists in the piwik code
|
||||
// the _paq.push method will result in an error being printed in the console
|
||||
// if an unknown method signature is passed
|
||||
this._paq.push(['disableHeartBeatTimer']);
|
||||
this.disabled = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue