mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Removing some TODOs
This commit is contained in:
parent
4b0b335a68
commit
76e2b6b39f
2 changed files with 0 additions and 3 deletions
|
@ -241,12 +241,10 @@ internal class DefaultCryptoService @Inject constructor(
|
|||
.executeBy(taskExecutor)
|
||||
}
|
||||
|
||||
// TODO add unit test
|
||||
override fun deleteDevice(deviceId: String, userInteractiveAuthInterceptor: UserInteractiveAuthInterceptor, callback: MatrixCallback<Unit>) {
|
||||
deleteDevices(listOf(deviceId), userInteractiveAuthInterceptor, callback)
|
||||
}
|
||||
|
||||
// TODO add unit test
|
||||
override fun deleteDevices(deviceIds: List<String>, userInteractiveAuthInterceptor: UserInteractiveAuthInterceptor, callback: MatrixCallback<Unit>) {
|
||||
deleteDeviceTask
|
||||
.configureWith(DeleteDeviceTask.Params(deviceIds, userInteractiveAuthInterceptor, null)) {
|
||||
|
|
|
@ -37,7 +37,6 @@ internal interface DeleteDeviceTask : Task<DeleteDeviceTask.Params, Unit> {
|
|||
)
|
||||
}
|
||||
|
||||
// TODO add unit tests
|
||||
internal class DefaultDeleteDeviceTask @Inject constructor(
|
||||
private val cryptoApi: CryptoApi,
|
||||
private val globalErrorReceiver: GlobalErrorReceiver
|
||||
|
|
Loading…
Add table
Reference in a new issue