Add parameter wasLastSession to SessionListener.onSessionDeleted

This commit is contained in:
Benoit Marty 2025-10-23 16:20:15 +02:00
parent 2acc6db70f
commit 9ca5fbdc08
13 changed files with 15 additions and 14 deletions

View file

@ -9,5 +9,5 @@ package io.element.android.libraries.sessionstorage.api.observer
interface SessionListener {
suspend fun onSessionCreated(userId: String)
suspend fun onSessionDeleted(userId: String)
suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean)
}