Clarify comment

This commit is contained in:
Hugh Nimmo-Smith 2022-12-06 11:34:25 +00:00
parent d0b2c0693d
commit 3a2a916c2f
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class Rendezvous(
val deviceKey = crypto.getMyDevice().fingerprint() val deviceKey = crypto.getMyDevice().fingerprint()
send(Payload(PayloadType.PROGRESS, outcome = Outcome.SUCCESS, deviceId = deviceId, deviceKey = deviceKey)) send(Payload(PayloadType.PROGRESS, outcome = Outcome.SUCCESS, deviceId = deviceId, deviceKey = deviceKey))
// explicitly download keys for ourself rather than wait for initial sync to complete // explicitly download keys for ourself rather than racing with initial sync which might not complete in time
awaitCallback<MXUsersDevicesMap<CryptoDeviceInfo>> { crypto.downloadKeys(listOf(userId), false, it) } awaitCallback<MXUsersDevicesMap<CryptoDeviceInfo>> { crypto.downloadKeys(listOf(userId), false, it) }
// await confirmation of verification // await confirmation of verification