Ignore PNI key upload errors for now
This commit is contained in:
parent
9973c661d0
commit
7775f7d806
1 changed files with 14 additions and 2 deletions
|
@ -310,8 +310,20 @@ export default class AccountManager extends EventTarget {
|
||||||
kind
|
kind
|
||||||
);
|
);
|
||||||
|
|
||||||
|
try {
|
||||||
await this.server.registerKeys(keys, kind);
|
await this.server.registerKeys(keys, kind);
|
||||||
await this.confirmKeys(keys, kind);
|
await this.confirmKeys(keys, kind);
|
||||||
|
} catch (error) {
|
||||||
|
if (kind === UUIDKind.PNI) {
|
||||||
|
log.error(
|
||||||
|
'Failed to upload PNI prekeys. Moving on',
|
||||||
|
Errors.toLogFormat(error)
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue