mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Add default implementation to SessionListener
This commit is contained in:
committed by
Benoit Marty
parent
9ca5fbdc08
commit
a18eb6eb5e
+2
-2
@@ -8,6 +8,6 @@
|
||||
package io.element.android.libraries.sessionstorage.api.observer
|
||||
|
||||
interface SessionListener {
|
||||
suspend fun onSessionCreated(userId: String)
|
||||
suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean)
|
||||
suspend fun onSessionCreated(userId: String) = Unit
|
||||
suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) = Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user