From 36ec8cb5394fe659120010126ff90313ef1f58fd Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sat, 11 Jul 2020 20:04:22 +0200 Subject: [PATCH] Hide revoked userids --- assets/scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/scripts.js b/assets/scripts.js index 29c4917..19b226e 100644 --- a/assets/scripts.js +++ b/assets/scripts.js @@ -258,7 +258,7 @@ async function displayProfile(opts) { feedback += `
general information
`; feedback += ``; for (var i = 0; i < keyData.publicKey.users.length; i++) { - if (keyData.publicKey.users[i].userId && 'email' in keyData.publicKey.users[i].userId && keyData.publicKey.users[i].userId.email) { + if (keyData.publicKey.users[i].userId && 'email' in keyData.publicKey.users[i].userId && keyData.publicKey.users[i].userId.email && keyData.publicKey.users[i].revocationSignatures.length == 0) { feedback += `
`; feedback += `
email
`; feedback += ``;