Commit 26f64d3e authored by Gabriel Guardincerri's avatar Gabriel Guardincerri Committed by gguardin

Fixed problems with VCard xml

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9949 b35dd754-fafc-0310-a699-88a17e54d16e
parent 2c650829
......@@ -334,7 +334,7 @@ public class ClearspaceVCardProvider implements VCardProvider {
loadReadOnly();
}
return readOnly == null ? false : readOnly;*/
return false;
return true;
}
private void loadReadOnly() {
......@@ -356,8 +356,7 @@ public class ClearspaceVCardProvider implements VCardProvider {
private Element translate(Element profile, User user, Element avatar) {
Document vCardDoc = DocumentHelper.createDocument();
Element vCard = vCardDoc.addElement("VCard");
vCard.addAttribute("xmlns", "vcard-temp");
Element vCard = vCardDoc.addElement("vCard", "vcard-temp");
addUserInformation(user, vCard);
addProfileInformation(profile, vCard);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment