Minor changes

This commit is contained in:
Yarmo Mackenbach 2020-10-25 01:02:21 +02:00
parent 2b22799fff
commit bdd918df4c

View file

@ -29,8 +29,8 @@ const processURI = (uri, opts) => {
uri: uri uri: uri
}, },
proof: { proof: {
uri: 'XMPP_VCARD_SERVER_DOMAIN' in opts uri: 'xmppVcardServerDomain' in opts
? `https://${opts.XMPP_VCARD_SERVER_DOMAIN}/api/vcard/${output.display}/DESC` ? `https://${opts.xmppVcardServerDomain}/api/vcard/${match[1]}@${match[2]}/DESC`
: null, : null,
fetch: null, fetch: null,
useProxy: false, useProxy: false,
@ -42,7 +42,7 @@ const processURI = (uri, opts) => {
path: [], path: [],
relation: 'contains' relation: 'contains'
}, },
qr: null qr: uri
} }
} }