Getting one's own vCard vs. someone else's
From: Dmitry Dolinsky <dmitry@xxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 20:34:12 +0100 (CET)
VCardManager::fetchVCard() method is documented to be able to "fetch the VCard of a remote entity or yourself". Looking at the implementation however, I see no distinction between the two cases. It looks to me that the request is constructed to get the remote entity. Looking at XEP-0054 <http://www.xmpp.org/extensions/ xep-0054.html>, there is slight difference between the two cases: to fetch user's own vcard "from" attribute is used, to fetch another user vcard, "to" attribute is used. It appears that gloox always uses "to".

--Dmitry