mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Fall back to legacy analytics for guest users (#7616)
This commit is contained in:
parent
9d9b77d5e1
commit
d75c1bc0d6
1 changed files with 1 additions and 1 deletions
|
@ -1354,7 +1354,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
|
||||
StorageManager.tryPersistStorage();
|
||||
|
||||
if (PosthogAnalytics.instance.isEnabled()) {
|
||||
if (PosthogAnalytics.instance.isEnabled() && SettingsStore.isLevelSupported(SettingLevel.ACCOUNT)) {
|
||||
this.initPosthogAnalyticsToast();
|
||||
} else if (Analytics.canEnable() || CountlyAnalytics.instance.canEnable()) {
|
||||
if (SettingsStore.getValue("showCookieBar") &&
|
||||
|
|
Loading…
Reference in a new issue