Commit a33e478b authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Export bare JID (instead of full JID).


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1763 b35dd754-fafc-0310-a699-88a17e54d16e
parent 53490df5
......@@ -207,7 +207,7 @@ public class ImportExportPlugin implements Plugin {
Collection<RosterItem> roster = user.getRoster().getRosterItems();
for (RosterItem ri : roster) {
Element itemElement = rosterElement.addElement("Item");
itemElement.addAttribute("jid", ri.getJid().toString());
itemElement.addAttribute("jid", ri.getJid().toBareJID());
itemElement.addAttribute("askstatus", String.valueOf(ri.getAskStatus().getValue()));
itemElement.addAttribute("recvstatus", String.valueOf(ri.getRecvStatus().getValue()));
itemElement.addAttribute("substatus", String.valueOf(ri.getSubStatus().getValue()));
......
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