mirror of
https://github.com/element-hq/element-android
synced 2024-12-20 16:32:41 +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,
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue