simple-xmpp / node-simple-xmpp

Simple High Level NodeJS XMPP Client
302 stars 90 forks source link

getVcard not working #58

Open norgen opened 9 years ago

norgen commented 9 years ago

Method returns only my jid vcard data, not working with contacts that are connected through gateways (vk, mrim, etc). Sorry for bad english.

Using this:

xmpp.on('buddy', function(jid, state, statusText, resource) {
    xmpp.getVCard(jid, function (vcard) {
        console.log(vcard);
    });
});
mrchimp commented 9 years ago

I'm getting the same using Google Talk servers. I can get my own vcard, everything else returns null.

Asoul commented 7 years ago

Cannot get vcard too, self host XMPP server.

mutil commented 4 years ago

You can use the getVCardForUser method for other users.