mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-23 04:22:05 +01:00
Remove cached presence info when deleting a user from the roster (SMACK-131).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2298 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
a958b245e6
commit
693d0013ac
1 changed files with 5 additions and 0 deletions
|
@ -669,6 +669,11 @@ public class Roster {
|
|||
unfiledEntries.remove(entry);
|
||||
}
|
||||
}
|
||||
// Removing the user from the roster, so remove any presence information
|
||||
// about them.
|
||||
String key = StringUtils.parseName(item.getUser()) + "@" +
|
||||
StringUtils.parseServer(item.getUser());
|
||||
presenceMap.remove(key);
|
||||
}
|
||||
else {
|
||||
// Make sure the entry is in the entry list.
|
||||
|
|
Loading…
Reference in a new issue