Commit c83d4946 authored by Matt Tucker's avatar Matt Tucker Committed by matt

VCARD should be vCard in element name (JM-75).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@661 b35dd754-fafc-0310-a699-88a17e54d16e
parent c2ac4826
......@@ -65,7 +65,7 @@ public class IQvCardHandler extends IQHandler {
public IQvCardHandler() {
super("XMPP vCard Handler");
info = new IQHandlerInfo("vcard", "vcard-temp");
info = new IQHandlerInfo("vCard", "vcard-temp");
}
public synchronized IQ handleIQ(IQ packet) throws UnauthorizedException, PacketException {
......@@ -87,7 +87,7 @@ public class IQvCardHandler extends IQHandler {
User user = userManager.getUser(recipient.getNode());
result = IQ.createResultIQ(packet);
Element vcard = DocumentHelper.createElement(QName.get("VCARD", "vcard-temp"));
Element vcard = DocumentHelper.createElement(QName.get("vCard", "vcard-temp"));
result.setChildElement(vcard);
Iterator names = user.getVCardPropertyNames();
......
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