Perform get profile request on matrix ID

This commit is contained in:
Florian Renaud
2023-05-02 17:22:43 +02:00
parent 7e6341c4f3
commit e1dbc8fadf
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 {