So I created a vcard using the smack api and saved it. I am able to load the vcard again using smack. However, when I try to write
an openire plugin relying on the vcard, the VCardManager is returning null for the specified vcard.
The toCard that is returned is null. However, I know that the vcard got created because
I can load it smack and view the information that was stored.
Here is how I am trying to retrieve the vcard.
VCardManager vCardManager = XMPPServer.getInstance().getVCardManager();
Element toCard = vCardManager.getVCard(toJID.toBareJID());