Hi,
If you have an existing unfiled roster entry then it won't get updated in the RosterPacketListener. The RosterEntry in the entries map gets replaced but the following code excludes the unfiledEntires.
// Otherwise add it to the list of unfiled entries.
else {
if (!unfiledEntries.contains(entry)) {
unfiledEntries.add(entry);
}
}
One workaround is to call getEntry( user ) as this returns the RosterEntry directly from the entry map.
Have I got this wrong or should a raise a bug report.
Cheers