Skip to content

Commit 87df8ab

Browse files
BillCarsonFrbmarty
andauthored
Update matrix-sdk-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/SecretShareManager.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
1 parent 1bd2da5 commit 87df8ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ internal class SecretShareManager @Inject constructor(
136136
.w("handleSecretRequest() : malformed request norequestingDeviceId ")
137137
}
138138

139-
if (request.requestingDeviceId == credentials.deviceId) {
139+
if (deviceId == credentials.deviceId) {
140140
return Unit.also {
141141
Timber.tag(loggerTag.value)
142142
.v("handleSecretRequest() : Ignore request from self device")

0 commit comments

Comments
 (0)