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
-1
@@ -33,7 +33,6 @@ class DefaultSeenInvitesStore(
|
||||
) : SeenInvitesStore {
|
||||
init {
|
||||
sessionObserver.addListener(object : SessionListener {
|
||||
override suspend fun onSessionCreated(userId: String) = Unit
|
||||
override suspend fun onSessionDeleted(userId: String, wasLastSession: Boolean) {
|
||||
if (sessionId.value == userId) {
|
||||
clear()
|
||||
|
||||
Reference in New Issue
Block a user