Commit 36f3fd70 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Fixed #convertToDOMFragment.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@470 b35dd754-fafc-0310-a699-88a17e54d16e
parent 294c2fbb
......@@ -512,7 +512,7 @@ public class MetaDataFragment extends PayloadFragment {
* @return The converted fragment
*/
public XMPPDOMFragment convertToDOMFragment() {
XMPPDOMFragment dom = new XMPPDOMFragment(root.createCopy());
XMPPDOMFragment dom = new XMPPDOMFragment(((Element)root.elements().get(0)).createCopy());
return dom;
}
}
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