Improve asXId and make tests pass in release and debug mode.

This commit is contained in:
Benoit Marty 2023-04-12 09:14:55 +02:00 committed by Benoit Marty
parent b081ecfb6a
commit eb6276e09d
15 changed files with 121 additions and 25 deletions

View file

@ -60,6 +60,6 @@ class DefaultUserPushStoreFactory @Inject constructor(
override suspend fun onSessionDeleted(userId: String) {
// Delete the store
create(userId.asSessionId()).reset()
userId.asSessionId()?.let { create(it).reset() }
}
}