Room : continue improving members loading

This commit is contained in:
ganfra
2023-04-21 14:39:47 +02:00
parent a1869a3019
commit 90bfe97250
26 changed files with 329 additions and 166 deletions
@@ -20,6 +20,7 @@ import io.element.android.libraries.matrix.api.core.UserId
import io.element.android.libraries.matrix.ui.model.MatrixUser
interface UserListDataSource {
//TODO should probably have a flow
suspend fun search(query: String): List<MatrixUser>
suspend fun getProfile(userId: UserId): MatrixUser?
}