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

AccountService: add support for getAccountPasswordKey

Change-Id: I956fd5ac77e70d7befb487f7efbddb682be60dcc
parent 44cc5545
No related branches found
No related tags found
No related merge requests found
......@@ -702,6 +702,10 @@ class AccountService(
require(JamiService.changeAccountPassword(accountId, oldPassword, newPassword)) { "Can't change password" }
}.subscribeOn(scheduler)
fun getAccountPasswordKey(accountId: String, password: String): Single<ByteArray> =
Single.fromCallable { JamiService.getPasswordKey(accountId, password).bytes }
.subscribeOn(Schedulers.computation())
/**
* Sets the active codecs list of the account in the Daemon
*/
......
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