Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b6532f9

Browse files
authored
Merge pull request #5369 from matrix-org/t3chguy/countly
fix CountlyAnalytics canEnable on wrong target
2 parents 444425b + 3f11259 commit b6532f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/settings/tabs/user/SecurityUserSettingsTab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export default class SecurityUserSettingsTab extends React.Component {
341341
}
342342

343343
let privacySection;
344-
if (Analytics.canEnable() || CountlyAnalytics.canEnable()) {
344+
if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) {
345345
privacySection = <React.Fragment>
346346
<div className="mx_SettingsTab_heading">{_t("Privacy")}</div>
347347
<div className="mx_SettingsTab_section">

0 commit comments

Comments
 (0)