Cleanup + Add per user store.

This commit is contained in:
Benoit Marty 2023-03-31 15:55:14 +02:00
parent b27f6c6594
commit 6ecbe1f856
29 changed files with 351 additions and 202 deletions

View file

@ -26,3 +26,7 @@ interface SessionStore {
suspend fun getLatestSession(): SessionData?
suspend fun removeSession(sessionId: String)
}
fun List<SessionData>.toUserList(): List<String> {
return map { it.userId }
}