Browse Source

add 'registered' flag in contact info

pull/115/head
Trent Larson 7 months ago
parent
commit
009a7ecdf8
  1. 2
      src/views/ContactQRScanShowView.vue

2
src/views/ContactQRScanShowView.vue

@ -147,6 +147,7 @@ export default class ContactQRScanShow extends Vue {
publicEncKey, publicEncKey,
nextPublicEncKeyHash: nextPublicEncKeyHashBase64, nextPublicEncKeyHash: nextPublicEncKeyHashBase64,
profileImageUrl: settings?.profileImageUrl, profileImageUrl: settings?.profileImageUrl,
registered: settings?.isRegistered,
}, },
}; };
@ -223,6 +224,7 @@ export default class ContactQRScanShow extends Vue {
nextPubKeyHashB64: payload.own.nextPublicEncKeyHash, nextPubKeyHashB64: payload.own.nextPublicEncKeyHash,
profileImageUrl: payload.own.profileImageUrl, profileImageUrl: payload.own.profileImageUrl,
publicKeyBase64: payload.own.publicEncKey, publicKeyBase64: payload.own.publicEncKey,
registered: payload.own.registered,
}; };
if (!newContact.did) { if (!newContact.did) {
this.danger("There is no DID.", "Incomplete Contact"); this.danger("There is no DID.", "Incomplete Contact");

Loading…
Cancel
Save