result.setError(PacketError.Condition.bad_request);
return result;
}
// Parse the profile
VCard4DomReader reader = new PersistentVCard4DomReader();
Profile profile = reader.readProfile(new ElementAdapter(e_profile));
// Commit the profile (this will also trigger the messages)
try {
ProfileManager.getInstance().publishProfile(sender.toBareJID(), profile);
} catch (UserNotFoundException e) {