mirror of
https://github.com/element-hq/element-android
synced 2024-12-21 00:42:04 +03:00
crypto: Remove the RoomDecryptorProvider
This commit is contained in:
parent
32c1fd9c85
commit
d49bdbe016
1 changed files with 3 additions and 4 deletions
|
@ -139,8 +139,6 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
private val deviceListManager: DeviceListManager,
|
private val deviceListManager: DeviceListManager,
|
||||||
// The key backup service.
|
// The key backup service.
|
||||||
private val keysBackupService: DefaultKeysBackupService,
|
private val keysBackupService: DefaultKeysBackupService,
|
||||||
//
|
|
||||||
private val roomDecryptorProvider: RoomDecryptorProvider,
|
|
||||||
// The verification service.
|
// The verification service.
|
||||||
private val verificationService: DefaultVerificationService,
|
private val verificationService: DefaultVerificationService,
|
||||||
|
|
||||||
|
@ -1018,11 +1016,12 @@ internal class DefaultCryptoService @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun addNewSessionListener(newSessionListener: NewSessionListener) {
|
override fun addNewSessionListener(newSessionListener: NewSessionListener) {
|
||||||
roomDecryptorProvider.addNewSessionListener(newSessionListener)
|
// TODO we need to notify the listener when we receive a new inbound
|
||||||
|
// group session
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun removeSessionListener(listener: NewSessionListener) {
|
override fun removeSessionListener(listener: NewSessionListener) {
|
||||||
roomDecryptorProvider.removeSessionListener(listener)
|
// TODO
|
||||||
}
|
}
|
||||||
/* ==========================================================================================
|
/* ==========================================================================================
|
||||||
* DEBUG INFO
|
* DEBUG INFO
|
||||||
|
|
Loading…
Reference in a new issue