Update matrix-sdk-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt

Co-authored-by: Benoit Marty <benoitm@matrix.org>
This commit is contained in:
Valere 2023-10-03 11:24:38 +02:00 committed by GitHub
parent 1bd2da5c99
commit 87df8ab6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ internal class SecretShareManager @Inject constructor(
.w("handleSecretRequest() : malformed request norequestingDeviceId ")
}
if (request.requestingDeviceId == credentials.deviceId) {
if (deviceId == credentials.deviceId) {
return Unit.also {
Timber.tag(loggerTag.value)
.v("handleSecretRequest() : Ignore request from self device")