Add default implementation to SessionListener

This commit is contained in:
Benoit Marty
2025-10-23 16:23:01 +02:00
committed by Benoit Marty
parent 44e125dbc7
commit 66d8e6210d
8 changed files with 2 additions and 18 deletions

View File

@@ -75,10 +75,6 @@ class DefaultAnalyticsService(
analyticsStore.setAnalyticsId(analyticsId)
}
override suspend fun onSessionCreated(userId: String) {
// Nothing to do
}
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
// Delete the store when the last session is deleted
if (sessionStore.getAllSessions().isEmpty()) {