crypto: Remove the RoomDecryptorProvider

This commit is contained in:
Damir Jelić 2021-03-26 14:02:04 +01:00
parent 32c1fd9c85
commit d49bdbe016
1 changed files with 3 additions and 4 deletions

View File

@ -139,8 +139,6 @@ internal class DefaultCryptoService @Inject constructor(
private val deviceListManager: DeviceListManager,
// The key backup service.
private val keysBackupService: DefaultKeysBackupService,
//
private val roomDecryptorProvider: RoomDecryptorProvider,
// The verification service.
private val verificationService: DefaultVerificationService,
@ -1018,11 +1016,12 @@ internal class DefaultCryptoService @Inject constructor(
}
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) {
roomDecryptorProvider.removeSessionListener(listener)
// TODO
}
/* ==========================================================================================
* DEBUG INFO