RosterGroup addEntry method is supposed to remove entry from unfiled group if it exists there, is that right? The following code to move user from g1 to g2 always leaves user in unfiled group. Any ideas?
XMPPConnection con = new XMPPConnection(“jbegley”);
Roster roster = con.getRoster();
RosterGroup g1 = roster.getGroup(“g1”);
RosterGroup g2 = roster.getGroup(“g2”);
RosterEntry user2 = roster.getEntry(“user2@jbegley”);