Removing some TODOs

This commit is contained in:
Maxime NATUREL 2022-10-03 17:06:42 +02:00
parent a762fc1d80
commit 5649933b03
2 changed files with 0 additions and 2 deletions

View file

@ -64,7 +64,6 @@ internal class DefaultSessionAccountDataService @Inject constructor(
return roomAccountDataDataSource.getLiveAccountDataEvents(null, types) return roomAccountDataDataSource.getLiveAccountDataEvents(null, types)
} }
// TODO add unit tests
override suspend fun updateUserAccountData(type: String, content: Content) { override suspend fun updateUserAccountData(type: String, content: Content) {
val params = UpdateUserAccountDataTask.AnyParams(type = type, any = content) val params = UpdateUserAccountDataTask.AnyParams(type = type, any = content)
awaitCallback { callback -> awaitCallback { callback ->

View file

@ -112,7 +112,6 @@ internal class DefaultUpdateUserAccountDataTask @Inject constructor(
private val globalErrorReceiver: GlobalErrorReceiver private val globalErrorReceiver: GlobalErrorReceiver
) : UpdateUserAccountDataTask { ) : UpdateUserAccountDataTask {
// TODO add unit tests
override suspend fun execute(params: UpdateUserAccountDataTask.Params) { override suspend fun execute(params: UpdateUserAccountDataTask.Params) {
return executeRequest(globalErrorReceiver) { return executeRequest(globalErrorReceiver) {
accountDataApi.setAccountData(userId, params.type, params.getData()) accountDataApi.setAccountData(userId, params.type, params.getData())