Skip to content

Commit 812d6db

Browse files
committed
Multi account - Do not reset analytics store on sign out.
Else when 1 of many accounts is removed, the analytics opt in screen is displayed again.
1 parent 0e86b2c commit 812d6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/analytics/impl/src/main/kotlin/io/element/android/services/analytics/impl/DefaultAnalyticsService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class DefaultAnalyticsService(
8585

8686
override suspend fun onSessionDeleted(userId: String) {
8787
// Delete the store
88-
analyticsStore.reset()
88+
// analyticsStore.reset()
8989
}
9090

9191
private fun observeUserConsent() {

0 commit comments

Comments
 (0)