Skip to content
Snippets Groups Projects
Commit 05551ae4 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

add support for new daemon API

Change-Id: Ic853ba225ccf62e835ac9b17b23acada4ad60459
parent 97c88099
No related branches found
No related tags found
No related merge requests found
daemon @ 2b14e50f
Subproject commit f83c60f27597558a05742e2b7af9d47ddff4f25d
Subproject commit 2b14e50fe6f83e7b327eb649b534b7e39892a027
......@@ -668,7 +668,7 @@ class AccountService(
.firstOrError()
.map { r: DeviceRevocationResult -> r.code }
.doOnSubscribe { mExecutor.execute {
JamiService.revokeDevice(accountId, password, deviceId)
JamiService.revokeDevice(accountId, deviceId, "password", password)
}}
.subscribeOn(Schedulers.io())
......@@ -690,7 +690,7 @@ class AccountService(
fun exportToFile(accountId: String, absolutePath: String, password: String): Completable =
Completable.fromAction {
require(JamiService.exportToFile(accountId, absolutePath, password)) { "Can't export archive" }
require(JamiService.exportToFile(accountId, absolutePath, "password", password)) { "Can't export archive" }
}.subscribeOn(scheduler)
/**
......@@ -838,7 +838,7 @@ class AccountService(
*/
fun registerName(account: String, password: String, name: String) {
Log.i(TAG, "registerName()")
mExecutor.execute { JamiService.registerName(account, password, name) }
mExecutor.execute { JamiService.registerName(account, name, "password", password) }
}
/* contact requests */
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment