Add default implementation to SessionListener
This commit is contained in:
parent
9ca5fbdc08
commit
a18eb6eb5e
8 changed files with 2 additions and 18 deletions
|
|
@ -35,8 +35,6 @@ class DefaultImageLoaderHolder(
|
|||
|
||||
private fun observeSessions() {
|
||||
sessionObserver.addListener(object : SessionListener {
|
||||
override suspend fun onSessionCreated(userId: String) = Unit
|
||||
|
||||
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
|
||||
remove(SessionId(userId))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue