Open caboose014 opened 7 years ago
I have been looking into this further, and it looks like a vCard is already sent. LetsChat just lacks the ability to provide the extra information to populate the vCard for each user.
If I manually edit app/xmpp/msg-processors/vcard-get.js
and put something like the following into the sendVcard function:
var tel1 = vcard.c('TEL'); tel1.c('WORK'); tel1.c('VOICE'); tel1.c('NUMBER').t("5013");
It works perfectly. However, I am not sure how to set this up so I can read the information from the collection in mongodb.
Is it possible to get vCard support in LetsChat? I use a client called "Bria" and it uses vCards to populate contact information (like extension numbers, email addresses etc..). Or some way to populate extra information for users would be great!
Here is an example screenshot:
Since FreePBX is now using this as their XMPP server it would be great to get this functionality working again. The vCard is also used to populate the Avatar for the contact. If this could also be considered that would be great. I am currently pulling this information from LDAP and pushing it into a database for Prosody (the old XMPP server). I don't want to have to setup Gravatar accounts for every user that user this system just to get an avatar for them.
Thanks,