Perform get profile request on matrix ID

This commit is contained in:
Florian Renaud 2023-05-02 17:22:43 +02:00
parent e5912edfb5
commit 310be7a14a
6 changed files with 50 additions and 16 deletions

View file

@ -31,8 +31,7 @@ class AllMatrixUsersDataSource @Inject constructor(
}
override suspend fun getProfile(userId: UserId): MatrixUser? {
// TODO hook up to matrix client
return null
return client.getProfile(userId).getOrNull()
}
companion object {