mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Fix handling of keys without selfCertifications
This commit is contained in:
parent
3f05acb0c8
commit
d73c3944db
1 changed files with 2 additions and 0 deletions
|
@ -252,6 +252,8 @@ async function displayProfile(opts) {
|
|||
|
||||
let notations = [], notationsRaw = [];
|
||||
for (var i = 0; i < keyData.publicKey.users.length; i++) {
|
||||
if (keyData.publicKey.users[i].selfCertifications.length == 0) { continue; }
|
||||
|
||||
notationsRaw = notationsRaw.concat(keyData.publicKey.users[i].selfCertifications[0].notations);
|
||||
|
||||
if (keyData.publicKey.users[i].userAttribute != null && keyData.publicKey.users[i].userAttribute.attributes[0][0] === String.fromCharCode(1)) {
|
||||
|
|
Loading…
Reference in a new issue