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:
parent
1bd2da5c99
commit
87df8ab6f6
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue