mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Add default implementation to SessionListener
This commit is contained in:
committed by
Benoit Marty
parent
9ca5fbdc08
commit
a18eb6eb5e
-4
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user