Method `onSecretKeyGossip` doe snot have to be in the public interface

This commit is contained in:
Benoit Marty 2022-05-05 19:00:03 +02:00 committed by Benoit Marty
parent ede784684f
commit 853c0a25bf
2 changed files with 1 additions and 3 deletions

View File

@ -168,8 +168,6 @@ interface KeysBackupService {
password: String, password: String,
callback: MatrixCallback<Unit>) callback: MatrixCallback<Unit>)
fun onSecretKeyGossip(secret: String)
/** /**
* Restore a backup with a recovery key from a given backup version stored on the homeserver. * Restore a backup with a recovery key from a given backup version stored on the homeserver.
* *

View File

@ -622,7 +622,7 @@ internal class DefaultKeysBackupService @Inject constructor(
} }
} }
override fun onSecretKeyGossip(secret: String) { fun onSecretKeyGossip(secret: String) {
Timber.i("## CrossSigning - onSecretKeyGossip") Timber.i("## CrossSigning - onSecretKeyGossip")
cryptoCoroutineScope.launch(coroutineDispatchers.io) { cryptoCoroutineScope.launch(coroutineDispatchers.io) {