mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +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)
|
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 ->
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue