This commit is contained in:
Sorunome 2020-06-12 17:40:08 +02:00
parent 221d6c275b
commit 34619c065b
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -415,12 +415,13 @@ class KeyVerification {
// no need to request cache, we already have it // no need to request cache, we already have it
return; return;
} }
unawaited(encryption.ssss.maybeRequestAll( unawaited(encryption.ssss
_verifiedDevices.whereType<DeviceKeys>().toList())); .maybeRequestAll(_verifiedDevices.whereType<DeviceKeys>().toList()));
if (requestInterval.length <= i) { if (requestInterval.length <= i) {
return; return;
} }
Timer(Duration(seconds: requestInterval[i]), () => maybeRequestSSSSSecrets(i + 1)); Timer(Duration(seconds: requestInterval[i]),
() => maybeRequestSSSSSecrets(i + 1));
} }
Future<void> verifyKeys(Map<String, String> keys, Future<void> verifyKeys(Map<String, String> keys,