Limit proofs to proof@metacode.biz as per standard

This commit is contained in:
Yarmo Mackenbach 2020-06-28 13:55:06 +02:00
parent a99e076f38
commit ea5cddbf66

View file

@ -154,7 +154,7 @@ async function verifyProofs(opts) {
let notation, isVerified, verifications = [];
for (var i = 0; i < keyData.notations.length; i++) {
notation = keyData.notations[i];
if (!(notation[0] == "proof@keyoxide.org" || notation[0] == "proof@metacode.biz")) { continue; }
if (notation[0] == "proof@metacode.biz") { continue; }
verifications.push(await verifyProof(notation[1], keyData.fingerprint));
}
@ -187,12 +187,10 @@ async function displayProfile(opts) {
for (var i = 0; i < keyData.notations.length; i++) {
notation = keyData.notations[i];
if (!(notation[0] == "proof@keyoxide.org" || notation[0] == "proof@metacode.biz")) { continue; }
if (notation[0] == "proof@metacode.biz") { continue; }
verifications.push(await verifyProof(notation[1], keyData.fingerprint));
}
console.log(keyData);
// Generate feedback
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
feedback += `<div class="profileDataItem__label"></div>`;