From bdd918df4c0428d1125c584ccbad3c48244d1164 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 25 Oct 2020 01:02:21 +0200 Subject: [PATCH] Minor changes --- src/serviceproviders/xmpp.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/serviceproviders/xmpp.js b/src/serviceproviders/xmpp.js index e809fd1..1e69e41 100644 --- a/src/serviceproviders/xmpp.js +++ b/src/serviceproviders/xmpp.js @@ -29,8 +29,8 @@ const processURI = (uri, opts) => { uri: uri }, proof: { - uri: 'XMPP_VCARD_SERVER_DOMAIN' in opts - ? `https://${opts.XMPP_VCARD_SERVER_DOMAIN}/api/vcard/${output.display}/DESC` + uri: 'xmppVcardServerDomain' in opts + ? `https://${opts.xmppVcardServerDomain}/api/vcard/${match[1]}@${match[2]}/DESC` : null, fetch: null, useProxy: false, @@ -42,7 +42,7 @@ const processURI = (uri, opts) => { path: [], relation: 'contains' }, - qr: null + qr: uri } }