mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Removing some TODOs
This commit is contained in:
parent
a762fc1d80
commit
5649933b03
2 changed files with 0 additions and 2 deletions
|
@ -64,7 +64,6 @@ internal class DefaultSessionAccountDataService @Inject constructor(
|
|||
return roomAccountDataDataSource.getLiveAccountDataEvents(null, types)
|
||||
}
|
||||
|
||||
// TODO add unit tests
|
||||
override suspend fun updateUserAccountData(type: String, content: Content) {
|
||||
val params = UpdateUserAccountDataTask.AnyParams(type = type, any = content)
|
||||
awaitCallback { callback ->
|
||||
|
|
|
@ -112,7 +112,6 @@ internal class DefaultUpdateUserAccountDataTask @Inject constructor(
|
|||
private val globalErrorReceiver: GlobalErrorReceiver
|
||||
) : UpdateUserAccountDataTask {
|
||||
|
||||
// TODO add unit tests
|
||||
override suspend fun execute(params: UpdateUserAccountDataTask.Params) {
|
||||
return executeRequest(globalErrorReceiver) {
|
||||
accountDataApi.setAccountData(userId, params.type, params.getData())
|
||||
|
|
Loading…
Reference in a new issue