Add parameter wasLastSession to SessionListener.onSessionDeleted
This commit is contained in:
parent
2acc6db70f
commit
9ca5fbdc08
13 changed files with 15 additions and 14 deletions
|
|
@ -37,7 +37,7 @@ class DefaultImageLoaderHolder(
|
|||
sessionObserver.addListener(object : SessionListener {
|
||||
override suspend fun onSessionCreated(userId: String) = Unit
|
||||
|
||||
override suspend fun onSessionDeleted(userId: String) {
|
||||
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
|
||||
remove(SessionId(userId))
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue