Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

getVcard not working #58

Open
norgen opened this issue Feb 28, 2015 · 3 comments
Open

getVcard not working #58

norgen opened this issue Feb 28, 2015 · 3 comments

Comments

@norgen
Copy link

norgen commented Feb 28, 2015

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
Copy link

mrchimp commented Apr 17, 2015

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

@Asoul
Copy link

Asoul commented Jul 10, 2017

Cannot get vcard too, self host XMPP server.

@mutil
Copy link

mutil commented Sep 14, 2019

You can use the getVCardForUser method for other users.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants