You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Fix CountlyAnaltics NPE on MatrixClientPeg
This commit is contained in:
@@ -350,10 +350,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
|
||||
if (SettingsStore.getValue("analyticsOptIn")) {
|
||||
Analytics.enable();
|
||||
CountlyAnalytics.instance.enable(false);
|
||||
} else {
|
||||
CountlyAnalytics.instance.enable(true);
|
||||
}
|
||||
CountlyAnalytics.instance.enable(true); // anonymous
|
||||
}
|
||||
|
||||
// TODO: [REACT-WARNING] Replace with appropriate lifecycle stage
|
||||
|
||||
Reference in New Issue
Block a user