This commit is contained in:
JC Brand 2020-06-03 13:26:38 +02:00
parent 9f7b6d6fa1
commit b4e4248f40

View File

@ -115,13 +115,13 @@ converse.plugins.add('converse-vcard', {
if (vcard !== null) {
result = {
'stanza': iq,
'fullname': vcard.querySelector('FN')?.textConte?.t,
'nickname': vcard.querySelector('NICKNAME')?.textConte?.t,
'image': vcard.querySelector('PHOTO BINVAL')?.textConte?.t,
'image_type': vcard.querySelector('PHOTO TYPE')?.textConte?.t,
'url': vcard.querySelector('URL')?.textConte?.t,
'role': vcard.querySelector('ROLE')?.textConte?.t,
'email': vcard.querySelector('EMAIL USERID')?.textConte?.t,
'fullname': vcard.querySelector('FN')?.textContent,
'nickname': vcard.querySelector('NICKNAME')?.textContent,
'image': vcard.querySelector('PHOTO BINVAL')?.textContent,
'image_type': vcard.querySelector('PHOTO TYPE')?.textContent,
'url': vcard.querySelector('URL')?.textContent,
'role': vcard.querySelector('ROLE')?.textContent,
'email': vcard.querySelector('EMAIL USERID')?.textContent,
'vcard_updated': (new Date()).toISOString(),
'vcard_error': undefined
};