diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt index 5b0483203d..9f8dc76314 100755 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt @@ -65,7 +65,7 @@ import org.matrix.android.sdk.api.session.sync.model.DeviceListResponse import org.matrix.android.sdk.api.session.sync.model.DeviceOneTimeKeysCountSyncResponse import org.matrix.android.sdk.api.session.sync.model.ToDeviceSyncResponse import org.matrix.android.sdk.internal.crypto.keysbackup.RustKeyBackupService -import org.matrix.android.sdk.internal.crypto.network.NetworkRequestsProcessor +import org.matrix.android.sdk.internal.crypto.network.OutgoingRequestsProcessor import org.matrix.android.sdk.internal.crypto.network.RequestSender import org.matrix.android.sdk.internal.crypto.repository.WarnOnUnknownDeviceRepository import org.matrix.android.sdk.internal.crypto.store.IMXCryptoStore @@ -131,7 +131,7 @@ internal class DefaultCryptoService @Inject constructor( private val olmMachine by lazy { olmMachineProvider.olmMachine } - private val outgoingRequestsProcessor = NetworkRequestsProcessor( + private val outgoingRequestsProcessor = OutgoingRequestsProcessor( requestSender = requestSender, coroutineScope = cryptoCoroutineScope, cryptoSessionInfoProvider = cryptoSessionInfoProvider, diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/NetworkRequestsProcessor.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/OutgoingRequestsProcessor.kt similarity index 95% rename from matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/NetworkRequestsProcessor.kt rename to matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/OutgoingRequestsProcessor.kt index 85c4bc8821..f06a30e18a 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/NetworkRequestsProcessor.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/network/OutgoingRequestsProcessor.kt @@ -34,10 +34,10 @@ import uniffi.olm.RequestType private val loggerTag = LoggerTag("OutgoingRequestsProcessor", LoggerTag.CRYPTO) -internal class NetworkRequestsProcessor(private val requestSender: RequestSender, - private val coroutineScope: CoroutineScope, - private val cryptoSessionInfoProvider: CryptoSessionInfoProvider, - private val shieldComputer: ShieldComputer,) { +internal class OutgoingRequestsProcessor(private val requestSender: RequestSender, + private val coroutineScope: CoroutineScope, + private val cryptoSessionInfoProvider: CryptoSessionInfoProvider, + private val shieldComputer: ShieldComputer,) { fun interface ShieldComputer { suspend fun compute(userIds: List): RoomEncryptionTrustLevel