Skip to content

Commit 3a2a916

Browse files
committed
Clarify comment
1 parent d0b2c06 commit 3a2a916

File tree

1 file changed

+1
-1
lines changed
  • matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/rendezvous

1 file changed

+1
-1
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/rendezvous/Rendezvous.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class Rendezvous(
150150
val deviceKey = crypto.getMyDevice().fingerprint()
151151
send(Payload(PayloadType.PROGRESS, outcome = Outcome.SUCCESS, deviceId = deviceId, deviceKey = deviceKey))
152152

153-
// explicitly download keys for ourself rather than wait for initial sync to complete
153+
// explicitly download keys for ourself rather than racing with initial sync which might not complete in time
154154
awaitCallback<MXUsersDevicesMap<CryptoDeviceInfo>> { crypto.downloadKeys(listOf(userId), false, it) }
155155

156156
// await confirmation of verification

0 commit comments

Comments
 (0)