Attachment mock test: wait for draft attachment ready before send

This commit is contained in:
Scott Nonnenberg 2024-08-08 22:44:19 +10:00 committed by GitHub
parent 7a9e51f5ad
commit 068dfbc327
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -779,7 +779,7 @@ export default class AccountManager extends EventTarget {
serviceIdKind: ServiceIdKind,
identityKey: KeyPairType
): Promise<KyberPreKeyRecord> {
const logId = `generateLastRestortKyberKey(${serviceIdKind})`;
const logId = `generateLastResortKyberKey(${serviceIdKind})`;
const kyberKeyId = getNextKeyId(serviceIdKind, KYBER_KEY_ID_KEY);
if (typeof kyberKeyId !== 'number') {